timotheecour / Nim

Nim is a compiled, garbage-collected systems programming language with a design that focuses on efficiency, expressiveness, and elegance (in that order of priority).
http://nim-lang.org/
Other
2 stars 0 forks source link

misc nimble #90

Open timotheecour opened 4 years ago

timotheecour commented 4 years ago

we should allow: nimble --nim:pathto/nim_temp test should be doable now that nimble doesn't bundle nim anymore?

it avoids choosenim which has global effects (eg can break some other running processes etc)

how can that be implemented?

EDIT: here's a good solution, seems robust and no side effects:

dir=tmpdir
mkdir $dir
ln -sf abspath(pathto/nim_temp) $dir/nim
PATH=$dir/:$PATH nimble test
timotheecour commented 4 years ago

testament should set NIMBLE_DIR so it doesn't mess up with user's nimble when testing locally (in particular with NIM_TEST_PACKAGES)

timotheecour commented 4 years ago

expose parsed nimble/babel metadata as json · Issue #803 · nim-lang/nimble

timotheecour commented 4 years ago

number of commits/time since last tagged release refs https://github.com/nim-lang/Nim/pull/14603#issuecomment-640415590