Mercurial > games > semicongine
comparison config.nims @ 214:f1f35e9f5335
fix: resources on windows
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 10 May 2023 10:13:23 -0700 |
parents | b5d9410a8184 |
children | 5f6d3511ef79 |
comparison
equal
deleted
inserted
replaced
213:b5d9410a8184 | 214:f1f35e9f5335 |
---|---|
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"): |