-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathll.nimble
49 lines (42 loc) · 901 Bytes
/
ll.nimble
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Package
version = "0.3.0"
author = "Phillip Oldham"
description = "ll - a more informative ls, based on k"
license = "MIT"
srcDir = "src"
bin = @["ll"]
# Dependencies
requires "nim >= 0.20.0"
requires "cligen >= 0.9.31"
requires "tempfile >= 0.1.5"
requires "memo >= 0.2.1"
task debug, "Build with debug enabled":
--hints: on
--linedir: on
--stacktrace: on
--linetrace: on
--debuginfo
--path:"src"
--verbose
setCommand "c", "src/ll.nim"
task test, "Runs the test suite":
--hints: off
--linedir: on
--stacktrace: on
--linetrace: on
--debuginfo
--path:"src"
--verbose
--run
setCommand "c", "tests/all.nim"
task profile, "Build with the profiler enabled":
--hints: off
--linedir: on
--profiler:on
--stacktrace: on
--linetrace: on
--debuginfo
--path:"src"
--verbose
--run
setCommand "c", "tests/all.nim"