Add script to build object file (.o) for Ubuntu
This ubuntu_server.o file then needs to be copied to the server and linked.
This commit is contained in:
parent
9770ff5c7a
commit
7851434952
1 changed files with 7 additions and 0 deletions
7
script/build_ubuntu
Executable file
7
script/build_ubuntu
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/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"
|
Loading…
Reference in a new issue