Commit Graph

3 Commits

Author SHA1 Message Date
Ivan Yonchovski b390f25205
Bootstrap nimble (#3)
* Bootstrap nimble

Here it is the script that I am using to generate the nimble sources.

```
rm ~/.cache/nim/nimble_d/ -rf
nim cc --genScript src/nimble.nim
sed -i 's#-I.*nimble/src##' ~/.cache/nim/nimble_d/compile_nimble.sh
cp ~/Sources/nim/Nim/lib/nimbase.h ~/.cache/nim/nimble_d/
mkdir ~/.cache/nim/nim-workspace/ -p
rm -rf ~/Sources/nim/nim-workspace/scripts/nimble-linux/
cp -r ~/.cache/nim/nimble_d/ ~/Sources/nim/nim-workspace/scripts/nimble-linux/

rm ~/.cache/nim/nimble_d/ -rf
nim cc --os:windows --genScript src/nimble.nim
sed -i 's#-I.*nimble/src##' ~/.cache/nim/nimble_d/compile_nimble.bat
cp ~/Sources/nim/Nim/lib/nimbase.h ~/.cache/nim/nimble_d/
mkdir ~/.cache/nim/nim-workspace/ -p
rm -rf ~/Sources/nim/nim-workspace/scripts/nimble-windows/
cp -r ~/.cache/nim/nimble_d/ ~/Sources/nim/nim-workspace/scripts/nimble-windows/

```

* Update scripts/rebuild-nimble

* Use the revision of nimble sources

* Choosenim to bootstrap nim for nimble usage

Co-authored-by: zah <zahary@gmail.com>
2022-10-17 17:26:18 +03:00
Zahary Karadjov 9b15962d8d Use the latest Nim 1.6.6 RC; Handle Nim rebuilds when the new Nimble was already used 2022-04-14 17:44:25 +03:00
Zahary Karadjov 7ea680b3ae
Automate the installation of Nim and Nimble 2021-12-21 19:13:05 +02:00