A template for nim packages. Just click use template
or
git clone https://github.com/stisa/nimbasepkg
Includes:
- nimble file with
docs
andexamples
tasks - GitHub Actions
- run the tests when
src
ortests
changes - generate the docs and examples when files in
docs
andexamples
change - build when
src
changes for nim devel, stable and1.2.0
(only useful for packages withbin
) - run
nim check nimtemplate.nim
, same as the build action but works for library packages too - automatically add a tag when a increase in the
.nimble
fileversion
is detected
- run the tests when
- Directory structure:
src
and a publicnimtemplate/common.nim
for package codetests
directoryexamples
directorydocs
directory
- MIT license (please do write your own name in the attribution)