Makefile
changeset 19 1f09cfb560e0
parent 11 475c9942eb15
child 23 89ba1d73b232
--- a/Makefile	Mon Nov 19 12:05:51 2018 -0800
+++ b/Makefile	Sat Jul 25 15:05:26 2020 -0700
@@ -3,12 +3,12 @@
 
 default: release
 
-debug: ${FILES}
-	nim --assertions:on --nimcache:.cache c ${FILES}
+autobuild:
+	find . -type f -iname \*.nim | entr -c make development
 
 development: ${FILES}
 	# can use gdb with this...
-	nim --debugInfo --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES}
+	nim --debugInfo --assertions:on --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES}
 
 debugger: ${FILES}
 	nim --debugger:on --nimcache:.cache c ${FILES}