author | Mahlon E. Smith <mahlon@laika.com> |
Wed, 15 May 2019 14:54:55 -0700 | |
changeset 7 | 9c5ce539b081 |
parent 4 | 2f4e88604125 |
child 10 | d63cce6d1a09 |
permissions | -rw-r--r-- |
0 | 1 |
|
4
2f4e88604125
Re-arrange for nimble, update to Nim 0.19.
Mahlon E. Smith <mahlon@martini.nu>
parents:
0
diff
changeset
|
2 |
FILES = src/stomp.nim |
0 | 3 |
CACHE = .cache |
4 |
||
5 |
default: development |
|
6 |
||
7 |
development: ${FILES} |
|
8 |
nim --debugInfo --assertions:on --linedir:on -d:ssl --define:debug --nimcache:${CACHE} c ${FILES} |
|
4
2f4e88604125
Re-arrange for nimble, update to Nim 0.19.
Mahlon E. Smith <mahlon@martini.nu>
parents:
0
diff
changeset
|
9 |
@mv src/stomp . |
0 | 10 |
|
11 |
autobuild: |
|
12 |
# find . -depth 1 -name \*.nim | entr -cp make |
|
13 |
echo ${FILES} | entr -c make |
|
14 |
||
15 |
debugger: ${FILES} |
|
16 |
nim --debugger:on --nimcache:${CACHE} c ${FILES} |
|
17 |
||
18 |
release: ${FILES} |
|
19 |
nim -d:release --opt:speed --nimcache:${CACHE} c ${FILES} |
|
4
2f4e88604125
Re-arrange for nimble, update to Nim 0.19.
Mahlon E. Smith <mahlon@martini.nu>
parents:
0
diff
changeset
|
20 |
@mv src/stomp . |
0 | 21 |
|
22 |
docs: |
|
23 |
nim doc ${FILES} |
|
24 |
#nim buildIndex ${FILES} |
|
25 |
||
26 |
clean: |
|
27 |
cat .hgignore | xargs rm -rf |
|
28 |