Files
zuul-jobs/roles/nimble/README.rst
Albin Vass b209381be0 Add nimble roles and job
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
2020-11-08 09:36:05 +01:00

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.