nimrod.sh 527 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. RETCODE=$(fw_exists nimrod/bin/nimrod)
  3. [ ! "$RETCODE" == 0 ] || { return 0; }
  4. test -d nimrod || git clone git://github.com/Araq/Nimrod.git nimrod
  5. cd nimrod
  6. git checkout 987ac2439a87d74838233a7b188e4db340495ee5
  7. test -d csources || git clone git://github.com/nimrod-code/csources.git
  8. cd csources
  9. git checkout 704015887981932c78a033dd5ede623b2ad6ae27
  10. chmod +x build.sh
  11. ./build.sh
  12. cd ../..
  13. RETCODE=$(fw_exists nimrod/koch)
  14. [ ! "$RETCODE" == 0 ] || { return 0; }
  15. cd nimrod
  16. bin/nimrod c koch
  17. ./koch boot -d:release