Does anyone have any examples of using nimble for more advanced build
configurations?
Things I would like to do:
* Centralize generic build functionality into a github repo. Then, add that
repo as a build tool dependency and import modules from it.
* It doesn't look like nimble has a concept of a build tool dependency,
which seems to be the hurdle here
* List all .nim files in the test directory, compile and execute them.
* Nimble uses nimscript, which doesn't appear to have access to the os
module, so I can't list out files. I could likely achieve this by calling exec
"find ... | xargs nim c -r", but at that point I might as well just spin up a
Makefile.
* Compile my public nim files to make sure they are all syntactically correct.
* Again, the hurdle appears to be identifying the files
* Extract code from my README and compile it
* Requires reading files, which requires the os module
* Model dependencies between targets
Also, when I run nimble build, nimble complains that there is "Nothing to
build. Did you specify a module to build using the bin key in your .nimble
file?". Can this be suppressed? I'm building libraries, so there are no bins.
And it is forcing the exit code to be 1 instead of 0.
Cheers!