Add build scripts.

This commit is contained in:
Philip Wernersbach 2014-12-11 23:19:47 -05:00
commit 6b088938f7
2 changed files with 28 additions and 0 deletions

19
build.sh Executable file
View file

@ -0,0 +1,19 @@
#!/bin/sh
set -e
set -x
if [ ! -d "csources" ]; then
git clone --depth 1 https://github.com/nim-lang/csources.git
fi
cd "csources"
sh build.sh
cd ".."
./bin/nim c koch
./koch boot -d:release
cp -f install.sh.template install.sh
chmod +x install.sh
exit 0