author | Mahlon E. Smith <mahlon@martini.nu> |
Wed, 27 Oct 2021 10:09:51 -0700 | |
changeset 12 | 959dc81335c9 |
parent 9 | c109bf5f2aa4 |
permissions | -rw-r--r-- |
0
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
1 |
|
9
c109bf5f2aa4
Re-org project directory for use with nimble.
Mahlon E. Smith <mahlon@martini.nu>
parents:
0
diff
changeset
|
2 |
FILES = src/tnetstring.nim |
0
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
3 |
|
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
4 |
default: development |
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
5 |
|
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
6 |
debug: ${FILES} |
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
7 |
nim --assertions:on --nimcache:.cache c ${FILES} |
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
8 |
|
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
9 |
development: ${FILES} |
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
10 |
# can use gdb with this... |
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
11 |
nim -r --debugInfo --linedir:on --define:testing --nimcache:.cache c ${FILES} |
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
12 |
|
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
13 |
debugger: ${FILES} |
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
14 |
nim --debugger:on --nimcache:.cache c ${FILES} |
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
15 |
|
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
16 |
release: ${FILES} |
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
17 |
nim -d:release --opt:speed --nimcache:.cache c ${FILES} |
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
18 |
|
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
19 |
docs: |
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
20 |
nim doc ${FILES} |
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
21 |
#nim buildIndex ${FILES} |
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
22 |
|
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
23 |
clean: |
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
24 |
cat .hgignore | xargs rm -rf |
755c3645e3dc
Initial commit of a TNetstring parser and serializer for the Nim programming language.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
25 |