A Nimble-based environment for working on one or more Status Nim projects.
Go to file
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
scripts 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
.envrc 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
.gitignore Git config ensuring that 'nimble check' is executed before each commit 2021-12-22 14:11:22 +02:00
LICENSE-APACHEv2 Initial commit 2021-06-03 15:47:02 +03:00
LICENSE-MIT Initial commit 2021-06-03 15:47:02 +03:00
README.md Some tweaks to the README 2021-12-21 19:31:59 +02:00
workspace.gitconfig Git config ensuring that 'nimble check' is executed before each commit 2021-12-22 14:11:22 +02:00

README.md

nim-workspace

A Nimble-based environment for working on one or more Status Nim projects.

Prerequisites

Please install the standard C/C++ toolchain for your operating system (e.g. sudo apt install build-essentials).

The scripts in this repo will automatically take care of installing the right version of Nim and Nimble for you. To enable the automation, please install direnv from your distro's package manager or by following the instructions here:

https://github.com/direnv/direnv

Commands

add-project <project-name>

Clones a Status project you intend to work on. An interactive script will ask you whether you also want to clone each of the transitive dependencies of the project. All dependencies that were not cloned for development will be installed in the Nimble cache.

Projects can be removed from the workspace by just deleting the respective directory. This will result in Nimble installing the project's package in the global cache during the next nimble build.