
Installs nim toolchains using choosenim (similar to rustup), installs dependencies and builds nim projects using the package manager nimble. See: https://nim-lang.org/ https://github.com/nim-lang/nimble https://github.com/dom96/choosenim Change-Id: I95e7e02eb975200aed7680880b945261888de5ca
19 lines
426 B
ReStructuredText
19 lines
426 B
ReStructuredText
Run nimble command in a source directory. Assumes the appropriate version of nim and nimble is installed.
|
|
|
|
**Role Variables**
|
|
|
|
.. zuul:rolevar:: nimble_command
|
|
:default: build
|
|
|
|
Nimble command to run.
|
|
Examples are "build", "run" or "test".
|
|
|
|
.. zuul:rolevar:: nim_path
|
|
|
|
Path where nim and nimble are installed.
|
|
|
|
.. zuul:rolevar:: zuul_work_dir
|
|
:default: {{ zuul.project.src_dir }}
|
|
|
|
Directory to run nimble in.
|