summaryrefslogtreecommitdiff
path: root/make.sh
blob: c4bda2762f48cb3b3b44e851684ee677a01c7bea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

git submodule update --init --recursive
pushd 3rd/luamake
./compile/install.sh
./compile/build.sh
popd
# When confident with how the pieces fit together, the argument to luamake may
# be changed to speed up the edit-build-time-test cycle significantly. A list
# of available arguments can be obtained with: `luamake help`
if [ -z "$1" ]; then
    3rd/luamake/luamake rebuild
else
    3rd/luamake/luamake rebuild --platform "$1"
fi