-
Notifications
You must be signed in to change notification settings - Fork 195
Closed
Labels
Description
Run nimble init and fill in any package details you want, making sure to create a 'bin' package.
Add a dependency.
Example nimble init file below.
# Package
version = "0.1.0"
author = "Eric Lee"
description = "A new awesome nimble package"
license = "MIT"
srcDir = "src"
bin = @["test"]
# Dependencies
requires "nim >= 0.17.3"
requires "jester > 0.1"
Run nimble test --verbose.
Setting Nim stdlib prefix to /home/ebird/.local/opt/nim
Setting Nim stdlib path to /home/ebird/.local/opt/nim/lib
Executing task test in /home/ebird/test/test.nimble
Setting Nim stdlib prefix to /home/ebird/.local/opt/nim
Setting Nim stdlib path to /home/ebird/.local/opt/nim/lib
Verifying dependencies for test@0.1.0
Reading official package list
Checking for jester@> 0.1
Installing jester@> 0.1
Reading official package list
Downloading https://github.com/dom96/jester using git
Cloning latest tagged version: v0.2.0
Setting Nim stdlib prefix to /home/ebird/.local/opt/nim
Setting Nim stdlib path to /home/ebird/.local/opt/nim/lib
Info ???(???, 0) Error: internal error: n is not nil
nimble v0.8.8 compiled at 2018-02-03 00:48:31
git hash: 0a205d38686bd257ddedcc1aab5a9e16ec753a11