blob: 8a709914fced67b006a37dd4f0191d68164e4b34 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
mode = ScriptMode.Whatif
exec "gcc -v"
# test that ospaths actually compiles:
import ospaths
--forceBuild
--path: "../friends"
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"
|