scribe/script/build_ubuntu
Edward Loveall 7851434952
Add script to build object file (.o) for Ubuntu
This ubuntu_server.o file then needs to be copied to the server and
linked.
2021-09-07 22:00:20 -04:00

8 lines
184 B
Bash
Executable file

#!/usr/bin/env bash
# Exit if any subcommand fails
set -e
set -o pipefail
crystal build src/start_server.cr -o ubuntu_server --release --cross-compile --target "x86_64-pc-linux-gnu"