mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 04:02:41 +00:00
There is no reason build.sh shouldn't be executable and we couldn't build Nim with: ./build.sh
20 lines
238 B
Bash
Executable File
20 lines
238 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
set -x
|
|
|
|
if [ ! -d "csources" ]; then
|
|
git submodule update --init --depth 1
|
|
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
|