A Nimble-based environment for working on one or more Status Nim projects.
Go to file
Zahary Karadjov b6685bb651 Restore the terminal output after building Nim (when V=0) 2022-03-30 17:08:27 +03:00
scripts Restore the terminal output after building Nim (when V=0) 2022-03-30 17:08:27 +03:00
.envrc Automate the installation of Nim and Nimble 2021-12-21 19:13:05 +02: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.