chore: syntax

This commit is contained in:
Daylin Morgan 2024-09-13 14:22:06 -05:00
parent 73a6fe2738
commit 2dcb4f9640
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -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