Commit Graph

20 Commits

Author SHA1 Message Date
Ivan Yonchovski 57ffb6c3aa Document the workflow 2023-01-18 13:34:22 +02:00
Ivan Yonchovski 225f9f4466 Add guide 2023-01-18 13:34:22 +02:00
Ivan Yonchovski 78625d3b97 nim-workspace improvements
- use local NIMBLE_DIR (we should remove the warning at nimble side)
- make sure the correct nimble is picked
- install nimlangserver
2023-01-18 13:34:22 +02:00
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
zah fb3bb28208
Minor README fix 2022-09-14 17:41:49 +03:00
zah abb4952a4d
Some clarifications regarding syncing the lock file and the vendor folder 2022-09-14 17:41:02 +03:00
Zahary Karadjov 7a3d4d07c1
Bugfix: add-project was failing to call nimble setup when the added project was a full URL 2022-08-26 18:54:04 +03:00
Zahary Karadjov 70a4824157 remove some obsolete code 2022-07-04 16:28:07 +03:00
Zahary Karadjov 601f325fb9
Update the README to cover the vendor folder interop scripts 2022-07-04 15:29:29 +03:00
Zahary Karadjov 25272b8e36
Add scripts/develop-all-vendor-dirs 2022-07-04 15:16:24 +03:00
Zahary Karadjov 2519e69fc8
Scripts for syncing the state of the vendor forlder with the workspace 2022-07-04 14:37:58 +03:00
Zahary Karadjov 325e03f419
Execute nimble setup automatically after cloning 2022-04-17 12:06:53 +02:00
Zahary Karadjov 71de64d6c1
don't clone all dependencies in add-project 2022-04-17 10:45:21 +02: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 b6685bb651 Restore the terminal output after building Nim (when V=0) 2022-03-30 17:08:27 +03:00
Zahary Karadjov 10a36f2b9f
Git config ensuring that 'nimble check' is executed before each commit 2021-12-22 14:11:22 +02:00
Zahary Karadjov f80cbf0ee2
Some tweaks to the README 2021-12-21 19:31:59 +02:00
Zahary Karadjov e044a3499d
add-project can now init multiple projects 2021-12-21 19:26:59 +02:00
Zahary Karadjov 7ea680b3ae
Automate the installation of Nim and Nimble 2021-12-21 19:13:05 +02:00
Zahary Karadjov 55f8d4dc61
Initial commit 2021-06-03 15:47:02 +03:00