mirror of
https://git.sr.ht/~edwardloveall/scribe
synced 2025-12-10 12:41:23 +00:00
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:
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"
|
||||
Reference in New Issue
Block a user