nimble
nimble copied to clipboard
Package manager for the Nim programming language.
`test.nimble` ```nim # Package version = "0.1.0" author = "SolitudeSF" description = "A new awesome nimble package" license = "MIT" srcDir = "src" bin = @["test"] # Dependencies requires "nim...
even if version that satisfies the dependency constraint is already installed.
NOTE: this clobbers your `nim.cfg` if that matters to you and may need leading directory creation.. ```sh echo define:nimPreviewSlimSystem > $HOME/.config/nim/nim.cfg nimble install nimble ``` yields ``` Downloading https://github.com/nim-lang/nimble using...
Nimble shipped with Nim 1.0.2 suggests that version as default value for the compiler version: ```requires "nim >= 1.0.2"``` This is too aggressive for the majority of future releases. It...
`nimble build -l:-static` and `nimble build --passL:-static` do different things. The former enables localdeps mode and the latter passes to the linker correctly. The problem is that the first case...
Nimble should require packages to follow sem versioning. This way all dependency version matching is much simpler and more reliable. (Pseudo:) ``` require: jester @ 1.* # any version, new...
I am working on my first major Nim project. I have created a before and after build task to add the compiled binary to `$nimbleDir/bin` with a fallback to `$HOME/.local/bin`...
Minimal example: ```txt #project.nimble task play, "Build a release for debugging": --define:basePath:"lalalu" --outdir:"." setCommand "c", "src/playground.nim" ``` ```nim #project.nim const basePath {.strdefine.} = "path from file not from flag" echo...
``` >nimble build --verbose Verifying dependencies for [email protected] Reading official package list Checking for jsonschema@>= 0.2.1 Installing jsonschema@>= 0.2.1 Reading official package list Prompt: jsonschema not found in any local...