Mercurial > games > semicongine
comparison config.nims @ 675:cba4bebaf9d0
fix: resources on windows
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 10 May 2023 10:13:23 -0700 |
parents | 496b328faa43 |
children | 5f6d3511ef79 |
comparison
equal
deleted
inserted
replaced
674:496b328faa43 | 675:cba4bebaf9d0 |
---|---|
50 cd(resource) | 50 cd(resource) |
51 if defined(linux): | 51 if defined(linux): |
52 exec &"zip -r {outputfile} ." | 52 exec &"zip -r {outputfile} ." |
53 elif defined(windows): | 53 elif defined(windows): |
54 # TODO: test this | 54 # TODO: test this |
55 exec &"powershell Compress-Archive {inputfile} {outputfile}" | 55 exec &"powershell Compress-Archive * {outputfile}" |
56 cd(oldcwd) | 56 cd(oldcwd) |
57 | 57 |
58 task build_all_debug, "build all examples for debug": | 58 task build_all_debug, "build all examples for debug": |
59 for file in listFiles("examples"): | 59 for file in listFiles("examples"): |
60 if file.endsWith(".nim"): | 60 if file.endsWith(".nim"): |