Mercurial > games > semicongine
comparison config.nims @ 248:952428f04ffc
did: few fixes
author | Sam <sam@basx.dev> |
---|---|
date | Tue, 23 May 2023 16:24:15 +0700 |
parents | 5f6d3511ef79 |
children | f31d848ab551 |
comparison
equal
deleted
inserted
replaced
247:beb41c93aa3f | 248:952428f04ffc |
---|---|
68 | 68 |
69 task clean, "remove all build files": | 69 task clean, "remove all build files": |
70 exec(&"rm -rf {BUILDBASE}") | 70 exec(&"rm -rf {BUILDBASE}") |
71 | 71 |
72 task publish, "publish all build": | 72 task publish, "publish all build": |
73 for file in listFiles("build/debug/linux"): | 73 for file in listDirs("build/debug/linux"): |
74 exec(&"scp {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/debug/linux/") | 74 exec(&"rsync -r {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/debug/linux/") |
75 for file in listFiles("build/release/linux"): | 75 for file in listFiles("build/release/linux"): |
76 exec(&"scp {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/release/linux/") | 76 exec(&"rsync -r {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/release/linux/") |
77 for file in listFiles("build/debug/windows"): | 77 for file in listFiles("build/debug/windows"): |
78 exec(&"scp {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/debug/windows/") | 78 exec(&"rsync -r {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/debug/windows/") |
79 for file in listFiles("build/release/windows"): | 79 for file in listFiles("build/release/windows"): |
80 exec(&"scp {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/release/windows/") | 80 exec(&"rsync -r {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/release/windows/") |
81 | 81 |
82 task glslangValidator, "Download glslangValidator (required for linux compilation)": | 82 task glslangValidator, "Download glslangValidator (required for linux compilation)": |
83 let dirname = "/tmp/glslang_download" | 83 let dirname = "/tmp/glslang_download" |
84 exec &"mkdir -p {dirname}" | 84 exec &"mkdir -p {dirname}" |
85 exec &"cd {dirname} && wget https://github.com/KhronosGroup/glslang/releases/download/master-tot/glslang-master-linux-Release.zip" | 85 exec &"cd {dirname} && wget https://github.com/KhronosGroup/glslang/releases/download/master-tot/glslang-master-linux-Release.zip" |