add another "task" for nim
This commit is contained in:
parent
c081846a89
commit
c0a66f617a
1 changed files with 10 additions and 1 deletions
|
@ -114,6 +114,15 @@ task updateLock, "workaround for nimble lock probs":
|
|||
exec "nimble lock -l"
|
||||
exec "nimble setup -l"
|
||||
|
||||
|
||||
task test, "run tests/tester.nim":
|
||||
const tester = projectDir() / "tests" / "tester.nim"
|
||||
if fileExists tester:
|
||||
setCommand "r", tester
|
||||
else:
|
||||
quit "expected file at: " & tester
|
||||
|
||||
|
||||
# line delemiter for `nim help`
|
||||
task _,"_______________":
|
||||
discard
|
||||
|
|
Loading…
Reference in a new issue