0
|
1 |
|
|
2 |
FILES = stomp.nim
|
|
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}
|
|
9 |
|
|
10 |
autobuild:
|
|
11 |
# find . -depth 1 -name \*.nim | entr -cp make
|
|
12 |
echo ${FILES} | entr -c make
|
|
13 |
|
|
14 |
debugger: ${FILES}
|
|
15 |
nim --debugger:on --nimcache:${CACHE} c ${FILES}
|
|
16 |
|
|
17 |
release: ${FILES}
|
|
18 |
nim -d:release --opt:speed --nimcache:${CACHE} c ${FILES}
|
|
19 |
|
|
20 |
docs:
|
|
21 |
nim doc ${FILES}
|
|
22 |
#nim buildIndex ${FILES}
|
|
23 |
|
|
24 |
clean:
|
|
25 |
cat .hgignore | xargs rm -rf
|
|
26 |
|