oxaliq.net/build.sh

13 lines
239 B
Bash
Executable file

#!/bin/sh -e
# clean up old build
rm -rf sorrel || true
# compile binary
raco cross --target x86_64-linux exe sorrel.dev.rkt
# distribute
raco cross --target x86_64-linux dist sorrel sorrel.dev
# remove duplicated binary
rm sorrel.dev