From 57e415abaccf0a170686c7e12b9490d3fc1ffba2 Mon Sep 17 00:00:00 2001 From: Ivan Yonchovski Date: Sun, 25 Dec 2022 14:14:25 +0200 Subject: [PATCH] Update README --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a3f59d5..4b893e4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,23 @@ # csources-nimble Nimble C Sources -Nimble commit id = d68b2cb6efe8ce298cb5021fe84d3814d755322f +Nimble commit id = 7c097675d0e00c66f9da820a35eb6671bc4f387a + + +``` bash +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/csources-nimble/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/csources-nimble/scripts/nimble-windows/ +cp -r ~/.cache/nim/nimble_d/ ~/Sources/nim/nim-workspace/scripts/nimble-windows/ +```