build.sh 276 B

12345678910111213141516
  1. sh ci/deps.sh
  2. # Build from C sources.
  3. git clone --depth 1 https://github.com/nim-lang/csources.git
  4. cd csources
  5. sh build.sh
  6. cd ..
  7. # Add Nim to the PATH
  8. export PATH=$(pwd)/bin${PATH:+:$PATH}
  9. # Bootstrap.
  10. nim -v
  11. nim c koch
  12. ./koch boot
  13. cp bin/nim bin/nimd
  14. ./koch boot -d:release