author | Mahlon E. Smith <mahlon@martini.nu> |
Thu, 05 Aug 2021 10:48:20 -0700 | |
changeset 25 | 970ca83c849b |
parent 19 | 1f09cfb560e0 |
child 23 | 89ba1d73b232 |
permissions | -rw-r--r-- |
0 | 1 |
|
2 |
FILES = netdata_tsrelay.nim |
|
3 |
||
11 | 4 |
default: release |
0 | 5 |
|
19 | 6 |
autobuild: |
7 |
find . -type f -iname \*.nim | entr -c make development |
|
0 | 8 |
|
9 |
development: ${FILES} |
|
10 |
# can use gdb with this... |
|
19 | 11 |
nim --debugInfo --assertions:on --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES} |
0 | 12 |
|
13 |
debugger: ${FILES} |
|
9
aa9d537f7067
Properly reap child processes.
Mahlon E. Smith <mahlon@laika.com>
parents:
5
diff
changeset
|
14 |
nim --debugger:on --nimcache:.cache c ${FILES} |
0 | 15 |
|
16 |
release: ${FILES} |
|
9
aa9d537f7067
Properly reap child processes.
Mahlon E. Smith <mahlon@laika.com>
parents:
5
diff
changeset
|
17 |
nim -d:release --opt:speed --parallelBuild:0 --nimcache:.cache c ${FILES} |
0 | 18 |
|
19 |
docs: |
|
20 |
nim doc ${FILES} |
|
21 |
#nim buildIndex ${FILES} |
|
22 |
||
23 |
clean: |
|
24 |
cat .hgignore | xargs rm -rf |
|
25 |