* PackageInfo objects are now cached because NimScript evaluation is expensive. * before/after hooks now return `true` by default. * Bugfix: when hooks weren't found Nimble would still think that a hook told it to skip an action. * PackageInfo now includes info about which hooks are defined to prevent unnecessary execution of those hooks. * Probably more.
17 lines
No EOL
290 B
Nim
17 lines
No EOL
290 B
Nim
# Package
|
|
|
|
version = "0.7.0"
|
|
author = "Dominik Picheta"
|
|
description = "Nim package manager."
|
|
license = "BSD"
|
|
|
|
bin = @["nimble"]
|
|
srcDir = "src"
|
|
|
|
# Dependencies
|
|
|
|
requires "nim >= 0.11.2"
|
|
|
|
task tests, "Run the Nimble tester!":
|
|
withDir "tests":
|
|
exec "nim c -r tester" |