mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 17:34:43 +00:00
19 lines
275 B
Nim
19 lines
275 B
Nim
|
|
mode = ScriptMode.Whatif
|
|
|
|
exec "gcc -v"
|
|
|
|
# test that ospaths actually compiles:
|
|
import ospaths
|
|
|
|
--forceBuild
|
|
|
|
task listDirs, "lists every subdirectory":
|
|
for x in listDirs("."):
|
|
echo "DIR ", x
|
|
|
|
task default, "default target":
|
|
--define: definedefine
|
|
setCommand "c"
|
|
|