A Nimble-based environment for working on one or more Status Nim projects.
Go to file
Zahary Karadjov f80cbf0ee2
Some tweaks to the README
2021-12-21 19:31:59 +02:00
scripts add-project can now init multiple projects 2021-12-21 19:26:59 +02:00
.envrc Automate the installation of Nim and Nimble 2021-12-21 19:13:05 +02:00
.gitignore Automate the installation of Nim and Nimble 2021-12-21 19:13:05 +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

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.