summary refs log blame commit diff stats
path: root/tests/newconfig/tfoo.nims
blob: 8d0ed2c4259130c5d07b45d16508645cc2907948 (plain) (tree)
1
2
3
4
5
6
7
8
9




                        


                                      
            
                    
 

                       
              

                                     




                                          
                        

                

                          
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"

# bug #6327
discard existsEnv("dummy")