all repos — min @ cfb6cb9be26d6e55b19717b553e6db84b9462338

A small but practical concatenative programming language.

Updates.
h3rald h3rald@h3rald.com
Tue, 20 Apr 2021 21:20:20 +0000
commit

cfb6cb9be26d6e55b19717b553e6db84b9462338

parent

3025172b22adb1329fca6bcf991492583295618f

3 files changed, 24 insertions(+), 2 deletions(-)

jump to
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.mdsite/contents/reference-sys.md

@@ -12,8 +12,6 @@ {#sig||!||system#}

{#alias||!||system#} -{#alias||!!||system!#} - {#sig||&||run#} {#alias||&||run#}
M site/rules.minsite/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