Updates.
h3rald h3rald@h3rald.com
Tue, 20 Apr 2021 21:20:20 +0000
3 files changed,
24 insertions(+),
2 deletions(-)
M
.gitignore
→
.gitignore
@@ -11,6 +11,7 @@ libdyntools*
dyntools.nim *.zip packages/ +site/assets/downloads/ site/output/ site/temp/ dynlibs/
M
site/contents/reference-sys.md
→
site/contents/reference-sys.md
@@ -12,8 +12,6 @@ {#sig||!||system#}
{#alias||!||system#} -{#alias||!!||system!#} - {#sig||&||run#} {#alias||&||run#}
M
site/rules.min
→
site/rules.min
@@ -63,7 +63,29 @@ ) tap
output-fwrite ) ^process-css-asset +( + "Downloading latest min executables..." notice! + settings /version :version + ("windows" "macosx" "linux") + ( + :opsys + "https://github.com/h3rald/min/releases/download/v$1/min_v$1_$2_x64.zip" (version opsys) =% :remote + "min_$#.zip" (opsys) =% :local + "wget $# -O $#" (remote local) =% :cmd + cmd run! + "assets/downloads/$#/" (opsys) =% :dir + "assets/downloads/" mkdir + "unzip %# -d %#" (local dir) =% @cmd + cmd run! + local rm + ) foreach +) ^download-latest-min-exes + ;Main + +download-latest-min-exes + +"Processing contents..." notice! contents ( (dict) expect -> dup@@ -73,6 +95,7 @@ ((true) (process-content set-destination output-fwrite))
) case ) foreach +"Processing assets..." notice! assets ( (dict) expect -> dup