diff -r 000000000000 -r 52e9f64937bf Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Thu Mar 24 18:56:42 2016 -0700 @@ -0,0 +1,26 @@ + +FILES = stomp.nim +CACHE = .cache + +default: development + +development: ${FILES} + nim --debugInfo --assertions:on --linedir:on -d:ssl --define:debug --nimcache:${CACHE} c ${FILES} + +autobuild: + # find . -depth 1 -name \*.nim | entr -cp make + echo ${FILES} | entr -c make + +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 +