You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
348 B

set -e
git submodule update --init --recursive
rm debug release 2>/dev/null || true
find src | grep -E "\.template$" | while read FILE; do
ruby tools/builder/tools/embed.rb "$FILE"
ruby tools/builder/build.rb src/
mv obj/apogee.bin apogee.debug
cp apogee.debug{,.tmp}
mv apogee.debug.tmp apogee
strip apogee