summaryrefslogtreecommitdiff
path: root/misc/docker-build.sh
diff options
context:
space:
mode:
authorIronClawTrem <louie.nutman@gmail.com>2020-02-16 03:40:06 +0000
committerIronClawTrem <louie.nutman@gmail.com>2020-02-16 03:40:06 +0000
commit425decdf7e9284d15aa726e3ae96b9942fb0e3ea (patch)
tree6c0dd7edfefff1be7b9e75fe0b3a0a85fe1595f3 /misc/docker-build.sh
parentccb0b2e4d6674a7a00c9bf491f08fc73b6898c54 (diff)
create tremded branch
Diffstat (limited to 'misc/docker-build.sh')
-rw-r--r--misc/docker-build.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/docker-build.sh b/misc/docker-build.sh
new file mode 100644
index 0000000..c478ab8
--- /dev/null
+++ b/misc/docker-build.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+failed=0
+
+USE_RESTCLIENT=1 USE_INTERNAL_LUA=1 make -j 2 || failed=1
+
+if [[ $failed -eq 1 ]]; then
+ echo "Build failure."
+ exit $failed
+fi
+
+./misc/download-paks.sh
+chmod -R ugo+rw build