summary refs log tree commit diff stats
path: root/bootstrap.sh
blob: ade74a9aa4571da6978a422c589c2193d50ce754 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
set -e
set -x

if [ ! -e csources/.git ]; then
	git clone --depth 1 git://github.com/nim-lang/csources.git csources
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