mirror of
https://github.com/daylinmorgan/tsm.git
synced 2024-11-16 09:18:32 -06:00
chore: syntax
This commit is contained in:
parent
73a6fe2738
commit
2dcb4f9640
1 changed files with 3 additions and 4 deletions
|
@ -18,10 +18,9 @@ task bundle, "package build assets":
|
|||
withDir "dist":
|
||||
for dir in listDirs("."):
|
||||
echo dir
|
||||
let cmd = if "windows" in dir:
|
||||
&"7z a {dir}.zip {dir}"
|
||||
else:
|
||||
&"tar czf {dir}.tar.gz {dir}"
|
||||
let cmd =
|
||||
if "windows" in dir: &"7z a {dir}.zip {dir}"
|
||||
else: &"tar czf {dir}.tar.gz {dir}"
|
||||
cpFile("../README.md", &"{dir}/README.md")
|
||||
exec cmd
|
||||
|
||||
|
|
Loading…
Reference in a new issue