Files
Nim/build.sh
Adam Strzelecki 7e479993a4 Fixup: csources is empty after clone
We actually need to check for existence of csources/.git and then do git
submodule update --init, which pulls the data for submodule.
2015-05-07 23:07:15 +02:00

20 lines
241 B
Bash
Executable File

#!/bin/sh
set -e
set -x
if [ ! -e csources/.git ]; then
git submodule update --init --depth 1
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