mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
20 lines
271 B
Bash
Executable File
20 lines
271 B
Bash
Executable File
#!/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
|