Files
Nim/build.sh
Adam Strzelecki 05e072b8c4 Make build.sh executable
There is no reason build.sh shouldn't be executable and we couldn't build Nim
with: ./build.sh
2015-05-03 18:56:18 +02:00

20 lines
238 B
Bash
Executable File

#!/bin/sh
set -e
set -x
if [ ! -d "csources" ]; 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