comparison config.nims @ 516:fe0cad0ecf67

fix: remove rsync
author Sam <sam@basx.dev>
date Thu, 19 Jan 2023 22:55:56 +0700
parents 2ffabd90c297
children 7153eadb07eb
comparison
equal deleted inserted replaced
515:2ffabd90c297 516:fe0cad0ecf67
104 104
105 task clean, "remove all build files": 105 task clean, "remove all build files":
106 exec(&"rm -rf {BUILDBASE}") 106 exec(&"rm -rf {BUILDBASE}")
107 107
108 task publish, "publish all build": 108 task publish, "publish all build":
109 exec("rsync -rv build/ basx.dev:/var/www/public.basx.dev/semicongine")
110
111 for file in listFiles("build/debug/linux"): 109 for file in listFiles("build/debug/linux"):
112 exec(&"scp {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/debug/linux/") 110 exec(&"scp {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/debug/linux/")
113 for file in listFiles("build/release/linux"): 111 for file in listFiles("build/release/linux"):
114 exec(&"scp {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/release/linux/") 112 exec(&"scp {file} sam@mail.basx.dev:/var/www/public.basx.dev/semicongine/release/linux/")
115 for file in listFiles("build/debug/windows"): 113 for file in listFiles("build/debug/windows"):