Files
Nim/tests/newconfig/tfoo.nims
2016-07-10 01:17:08 +02:00

24 lines
376 B
Nim

mode = ScriptMode.Whatif
exec "gcc -v"
# test that ospaths actually compiles:
import ospaths
--forceBuild
warning("uninit", off)
hint("processing", off)
#--verbosity:2
patchFile("stdlib", "math", "mymath")
task listDirs, "lists every subdirectory":
for x in listDirs("."):
echo "DIR ", x
task default, "default target":
--define: definedefine
setCommand "c"