Add script to build object file (.o) for Ubuntu

This ubuntu_server.o file then needs to be copied to the server and
linked.
main
Edward Loveall 2021-09-07 22:00:20 -04:00
rodzic 9770ff5c7a
commit 7851434952
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 789A4AE983AC8901
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -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"