From 2dcb4f9640b547a51fc3fa80dc30ac279f0feea1 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Fri, 13 Sep 2024 14:22:06 -0500 Subject: [PATCH] chore: syntax --- config.nims | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/config.nims b/config.nims index f4b2700..e8ee00f 100644 --- a/config.nims +++ b/config.nims @@ -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