Files
Nim/bootstrap.sh
Simon Ruderich 2680a613be Always use https:// in git clone
git:// is unencrypted.
2016-09-15 04:20:24 +02:00

21 lines
315 B
Bash

#!/bin/sh
set -e
set -x
if [ ! -e csources/.git ]; then
git clone --depth 1 https://github.com/nim-lang/csources.git csources
fi
cd "csources"
sh build.sh
cd ".."
./bin/nim c koch
./koch boot -d:release
./koch geninstall
set +x
echo
echo 'Install Nim using "./install.sh <dir>" or "sudo ./install.sh <dir>".'