Mercurial > games > semicongine
diff config.nims @ 62:7153eadb07eb
fix: some formatting, bug when opening on windows.
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 25 Jan 2023 23:56:59 +0700 |
parents | be3ab2619c33 |
children | f67496a189cb |
line wrap: on
line diff
--- a/config.nims Tue Jan 24 10:22:38 2023 +0700 +++ b/config.nims Wed Jan 25 23:56:59 2023 +0700 @@ -116,7 +116,7 @@ exec(&"scp {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/release/windows/") task glslangValidator, "Download glslangValidator (required for linux compilation)": - let dirname="/tmp/glslang_download" + let dirname = "/tmp/glslang_download" exec &"mkdir -p {dirname}" exec &"cd {dirname} && wget https://github.com/KhronosGroup/glslang/releases/download/master-tot/glslang-master-linux-Release.zip" exec &"cd {dirname} && unzip *.zip" @@ -124,14 +124,14 @@ exec &"rm -rf {dirname}" task glslangValidator_exe, "Download glslangValidator.exe (required for windows compilation)": - let dirname="/tmp/glslang_download" + let dirname = "/tmp/glslang_download" exec &"mkdir -p {dirname}" exec &"cd {dirname} && wget https://github.com/KhronosGroup/glslang/releases/download/master-tot/glslang-master-windows-x64-Release.zip" exec &"cd {dirname} && unzip *.zip" exec &"mv {dirname}/bin/glslangValidator.exe examples/" exec &"rm -rf {dirname}" -task run_all , "Run all binaries": +task run_all, "Run all binaries": for file in listFiles("build/debug/linux"): exec file for file in listFiles("build/release/linux"):