Fixes.
h3rald h3rald@h3rald.com
Sat, 19 Oct 2024 19:31:05 +0000
2 files changed,
41 insertions(+),
2 deletions(-)
M
min.nimble
→
min.nimble
@@ -13,7 +13,7 @@
# Dependencies requires "nim >= 2.2.0 & < 3.0.0" -requires "checksums" +requires "checksums >= 0.2.1" requires "zippy >= 0.5.6 & < 0.6.0" requires "nimquery >= 2.0.1 & < 3.0.0" requires "minline >= 0.1.2 & < 0.2.0"
M
tasks/h3rald.min
→
tasks/h3rald.min
@@ -1,1 +1,40 @@
-#!/usr/bin/env minsystemsystem "_helpers" require :helpers 'helpers import config "version" dict.get :min-version "Min_DeveloperGuide.htm" :guide-file "../h3rald/assets/min/" guide-file suffix :h3rald-guide "../h3rald/contents/min.md" :h3rald-min-md "version:\\s+\\d+\\.\\d+\\.\\d+" :min-v-reg "version: $#" (min-version) =% :min-v-rep ( symbol update (==>) ( "Updating min Developer Guide and project on H3RALD.com..." io.notice! guide-file h3rald-guide sys.cp h3rald-min-md fs.read min-v-reg min-v-rep replace :updated-contents updated-contents h3rald-min-md fs.write "Done." io.notice! ) ) :: ;; Updates the min Developer Guide and project page on H3RALD.com ( symbol build (==>) ( "git" required "hastysite" required "Pulling content and rebuilding H3RALD.com web site..." io.notice! ;; Assuming min and h3rald are siblings sys.parent-dir sys.cd "h3rald" sys.cd "git pull" sys.system "hastysite build" sys.system sys.parent-dir sys.cd "min" sys.cd ) ) :: ;; Builds H3RALD.com web site +#!/usr/bin/env minsystemsystem + +"_helpers" require :helpers 'helpers import + +config.version :min-version +"Min_DeveloperGuide.htm" :guide-file +"../h3rald/assets/min/" guide-file suffix :h3rald-guide +"../h3rald/contents/min.md" :h3rald-min-md +"version:\\s+\\d+\\.\\d+\\.\\d+" :min-v-reg +"version: $#" (min-version) =% :min-v-rep + +( + symbol update + (==>) + ( + "Updating min Developer Guide and project on H3RALD.com..." io.notice! + guide-file h3rald-guide sys.cp + h3rald-min-md fs.read min-v-reg min-v-rep replace :updated-contents + updated-contents h3rald-min-md fs.write + "Done." io.notice! + ) +) :: +;; Updates the min Developer Guide and project page on H3RALD.com + +( + symbol build + (==>) + ( + "git" required + "hastysite" required + "Pulling content and rebuilding H3RALD.com web site..." io.notice! + ;; Assuming min and h3rald are siblings + sys.parent-dir sys.cd "h3rald" sys.cd + "git pull" sys.system + "hastysite build" sys.system + sys.parent-dir sys.cd "min" sys.cd + ) +) :: +;; Builds H3RALD.com web site +