0
|
1 |
|
|
2 |
FILES = mongrel2.nim
|
|
3 |
|
|
4 |
default: development
|
|
5 |
|
|
6 |
debug: ${FILES}
|
|
7 |
nim --assertions:on --nimcache:.cache c ${FILES}
|
|
8 |
|
|
9 |
development: ${FILES}
|
|
10 |
# can use gdb with this...
|
|
11 |
nim -r --debugInfo --linedir:on --define:testing --nimcache:.cache c ${FILES}
|
|
12 |
|
|
13 |
debugger: ${FILES}
|
|
14 |
nim --debugger:on --nimcache:.cache c ${FILES}
|
|
15 |
|
|
16 |
release: ${FILES}
|
|
17 |
nim -d:release --opt:speed --nimcache:.cache c ${FILES}
|
|
18 |
|
|
19 |
docs:
|
|
20 |
nim doc ${FILES}
|
|
21 |
#nim buildIndex ${FILES}
|
|
22 |
|
|
23 |
clean:
|
|
24 |
cat .hgignore | xargs rm -rf
|
|
25 |
|