all repos — min @ 3ef86b1d04748c35e8e193751f3f4105a5228929

A small but practical concatenative programming language.

Minor changes to rules and scripts to support new hastysite build.
h3rald h3rald@h3rald.com
Sat, 05 Aug 2017 12:13:06 +0200
commit

3ef86b1d04748c35e8e193751f3f4105a5228929

parent

4f179d4fd2272163e999d8e0771fee5573aa55cc

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

jump to
M site/rules.minsite/rules.min

@@ -26,7 +26,6 @@ (

('sym dict) expect -> :tpl =meta "" :page "" :contents - " - Processing $1: $2" (tpl (meta /path)) => % notice meta ( (input-fread @contents meta) (settings /title %site)

@@ -56,7 +55,6 @@

( (dict) expect -> =meta "" :contents - " - Processing CSS file: $1" ((meta /path)) => % notice meta ( (input-fread @contents meta) (=temp contents preprocess-css @contents temp)

@@ -80,6 +78,6 @@ (dict) expect ->

dup ( ((/ext ".css" match) (process-css-asset)) - ((true) (copy2output)) + ((true) (output-cp)) ) case ) foreach
M site/scripts/build.minsite/scripts/build.min

@@ -1,9 +1,10 @@

;Builds a site by processing contents and assets. 'hastysite import -clean-temp "Preprocessing..." notice preprocess "Processing rules.." notice process-rules +"Postprocessing..." notice +postprocess "All done." notice