changeset 252:f31d848ab551

did: update configs
author sam <sam@basx.dev>
date Wed, 24 May 2023 01:31:02 +0700
parents 9289776cd61c
children ad078e26a1c7
files config.nims semicongine.nimble
diffstat 2 files changed, 8 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/config.nims	Wed May 24 01:30:36 2023 +0700
+++ b/config.nims	Wed May 24 01:31:02 2023 +0700
@@ -16,7 +16,6 @@
   switch("mm", "orc")
   switch("experimental", "strictEffects")
   switch("threads", "on")
-  switch("d", "useLibzipSrc")
   var buildType = DEBUG
   var platformDir = ""
   if defined(linux):
@@ -71,13 +70,13 @@
 
 task publish, "publish all build":
   for file in listDirs("build/debug/linux"):
-    exec(&"rsync -r {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/debug/linux/")
-  for file in listFiles("build/release/linux"):
-    exec(&"rsync -r {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/release/linux/")
-  for file in listFiles("build/debug/windows"):
-    exec(&"rsync -r {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/debug/windows/")
-  for file in listFiles("build/release/windows"):
-    exec(&"rsync -r {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/release/windows/")
+    exec(&"scp -r {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/debug/linux/")
+  for file in listDirs("build/release/linux"):
+    exec(&"scp -r {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/release/linux/")
+  for file in listDirs("build/debug/windows"):
+    exec(&"scp -r {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/debug/windows/")
+  for file in listDirs("build/release/windows"):
+    exec(&"scp -r {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/release/windows/")
 
 task glslangValidator, "Download glslangValidator (required for linux compilation)":
   let dirname = "/tmp/glslang_download"
--- a/semicongine.nimble	Wed May 24 01:30:36 2023 +0700
+++ b/semicongine.nimble	Wed May 24 01:31:02 2023 +0700
@@ -12,4 +12,4 @@
 requires "nim >= 1.6.10"
 requires "winim"
 requires "xlib"
-requires "zip"
+requires "zippy"