summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmake.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/make.sh b/make.sh
index 31cca369..3cf23e84 100755
--- a/make.sh
+++ b/make.sh
@@ -1,7 +1,10 @@
#!/usr/bin/env bash
git submodule update --init --recursive
-pushd 3rd/luamake
+pushd 3rd/luamake || { echo 'Could not enter 3rd/luamake' >&2; exit 1; }
./compile/build.sh
-popd
+popd || { echo 'popd failed' >&2; exit 1; }
+# When confident with how the pieces fit together, the argument to luamake may
+# by change to speed up the edit-build-time-test cycle significantly. A list of
+# available arguments can be obtained with: `luamake help`
./3rd/luamake/luamake rebuild