author | Mahlon E. Smith <mahlon@martini.nu> |
Wed, 20 Oct 2021 11:41:30 -0700 | |
changeset 23 | 89ba1d73b232 |
parent 19 | 1f09cfb560e0 |
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} |
|
23
89ba1d73b232
Update quitProc for nim 1.6 deprecation warning.
Mahlon E. Smith <mahlon@martini.nu>
parents:
19
diff
changeset
|
17 |
nim -d:release -d:nimDebugDlOpen --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 |