comparison config.nims @ 500:8025ab67d931

fix: hello cube, add: run_all command
author Sam <sam@basx.dev>
date Wed, 18 Jan 2023 13:49:12 +0700
parents 3f1111f3b9f8
children ab8de2471a3a
comparison
equal deleted inserted replaced
499:3f1111f3b9f8 500:8025ab67d931
120 exec &"mv {dirname}/bin/glslangValidator.exe examples/" 120 exec &"mv {dirname}/bin/glslangValidator.exe examples/"
121 exec &"rm -rf {dirname}" 121 exec &"rm -rf {dirname}"
122 122
123 if getCommand() in ["c", "compile", "r", "dump", "check", "idetools"]: 123 if getCommand() in ["c", "compile", "r", "dump", "check", "idetools"]:
124 compilerFlags() 124 compilerFlags()
125
126 task run_all , "Run all binaries":
127 for file in listFiles("build/debug/linux"):
128 exec file
129 for file in listFiles("build/release/linux"):
130 exec file
131 for file in listFiles("build/debug/windows"):
132 exec &"wine {file}"
133 for file in listFiles("build/release/windows"):
134 exec &"wine {file}"