Initial commit of a TNetstring parser and serializer for the Nim programming language.
FossilOrigin-Name: 628ad410be24db8ab75f8053e6036690749d12607f2c97f4df573663b42647b5
This commit is contained in:
commit
65287b16e3
3 changed files with 675 additions and 0 deletions
25
Makefile
Normal file
25
Makefile
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
FILES = tnetstring.nim
|
||||
|
||||
default: development
|
||||
|
||||
debug: ${FILES}
|
||||
nim --assertions:on --nimcache:.cache c ${FILES}
|
||||
|
||||
development: ${FILES}
|
||||
# can use gdb with this...
|
||||
nim -r --debugInfo --linedir:on --define:testing --nimcache:.cache c ${FILES}
|
||||
|
||||
debugger: ${FILES}
|
||||
nim --debugger:on --nimcache:.cache c ${FILES}
|
||||
|
||||
release: ${FILES}
|
||||
nim -d:release --opt:speed --nimcache:.cache c ${FILES}
|
||||
|
||||
docs:
|
||||
nim doc ${FILES}
|
||||
#nim buildIndex ${FILES}
|
||||
|
||||
clean:
|
||||
cat .hgignore | xargs rm -rf
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue