Mercurial > games > semicongine
comparison config.nims @ 39:0cb294c5d2fd
fix: hello cube, add: run_all command
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 18 Jan 2023 13:49:12 +0700 |
parents | c3c963e7c1a6 |
children | ab8de2471a3a |
comparison
equal
deleted
inserted
replaced
38:c3c963e7c1a6 | 39:0cb294c5d2fd |
---|---|
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}" |