summary refs log tree commit diff stats
path: root/build.sh
blob: 139c283599fa6551caf33fb4b3fbae41b38658c6 (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 [ ! -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