Add nimble file and some makefile tasks.
FossilOrigin-Name: c4a4dfdf10b5d1e7136eea1f078ba67798a134c69436d7f9679ba93c04c9671a
This commit is contained in:
parent
0313f1681a
commit
3583868771
5 changed files with 83 additions and 62 deletions
13
Makefile
13
Makefile
|
|
@ -1,11 +1,14 @@
|
|||
|
||||
FILES = sieb.nim
|
||||
FILES = src/sieb.nim
|
||||
|
||||
default: release
|
||||
|
||||
autobuild:
|
||||
find . -type f -iname \*.nim | entr -c make development
|
||||
|
||||
dependencies:
|
||||
nimble install --depsOnly
|
||||
|
||||
development: ${FILES}
|
||||
# can use gdb with this...
|
||||
nim --debugInfo --assertions:on --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES}
|
||||
|
|
@ -13,13 +16,17 @@ development: ${FILES}
|
|||
debugger: ${FILES}
|
||||
nim --debugger:on --nimcache:.cache c ${FILES}
|
||||
|
||||
release: ${FILES}
|
||||
release:dependencies ${FILES}
|
||||
nim -d:release -d:nimDebugDlOpen --opt:speed --parallelBuild:0 --nimcache:.cache c ${FILES}
|
||||
mv src/sieb .
|
||||
|
||||
docs:
|
||||
nim doc ${FILES}
|
||||
#nim buildIndex ${FILES}
|
||||
|
||||
clean:
|
||||
fossil clean -f
|
||||
fossil clean --dotfiles -f -v
|
||||
|
||||
clobber:
|
||||
fossil clean -x -v
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue