Makefile
author Mahlon E. Smith <mahlon@martini.nu>
Sat, 25 Jul 2020 15:05:26 -0700
changeset 19 1f09cfb560e0
parent 11 475c9942eb15
child 23 89ba1d73b232
permissions -rw-r--r--
Multiple changes. - Clean up various nim compiler warnings. ... except ObservableStores. https://forum.nim-lang.org/t/6442#39738 - Update documentation for Netdata v1.23's "exporting" module. - TCP connections to netdata where dropped by default. Expose this behavior as a toggle, and change the default to leave the child process (and the tcp socket) open. - Bump to v0.3.0.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
     1
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
     2
FILES = netdata_tsrelay.nim
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
     3
11
475c9942eb15 Multiple changes:
Mahlon E. Smith <mahlon@laika.com>
parents: 9
diff changeset
     4
default: release
0
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
     5
19
1f09cfb560e0 Multiple changes.
Mahlon E. Smith <mahlon@martini.nu>
parents: 11
diff changeset
     6
autobuild:
1f09cfb560e0 Multiple changes.
Mahlon E. Smith <mahlon@martini.nu>
parents: 11
diff changeset
     7
	find . -type f -iname \*.nim | entr -c make development
0
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
     8
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
     9
development: ${FILES}
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
    10
	# can use gdb with this...
19
1f09cfb560e0 Multiple changes.
Mahlon E. Smith <mahlon@martini.nu>
parents: 11
diff changeset
    11
	nim --debugInfo --assertions:on --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES}
0
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
    12
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
    13
debugger: ${FILES}
9
aa9d537f7067 Properly reap child processes.
Mahlon E. Smith <mahlon@laika.com>
parents: 5
diff changeset
    14
	nim --debugger:on --nimcache:.cache c ${FILES}
0
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
    15
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
    16
release: ${FILES}
9
aa9d537f7067 Properly reap child processes.
Mahlon E. Smith <mahlon@laika.com>
parents: 5
diff changeset
    17
	nim -d:release --opt:speed --parallelBuild:0 --nimcache:.cache c ${FILES}
0
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
    18
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
    19
docs:
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
    20
	nim doc ${FILES}
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
    21
	#nim buildIndex ${FILES}
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
    22
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
    23
clean:
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
    24
	cat .hgignore | xargs rm -rf
72c9c6f0b713 Initial commit.
Mahlon E. Smith <mahlon@laika.com>
parents:
diff changeset
    25