Nim/build.sh
Hans Raaf 6e8b2bbfc8 Set executable bit on build.sh.
I am not sure why this is not set already? To me it is an annoyance
that I have to set it manually and then git shows me a change for
that file all the time while working.
2015-02-12 13:07:06 +01:00

19 lines
261 B
Bash
Executable file

#!/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