all repos — min @ 298df045cf9fd969e690c6c24a03d59e433929db

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

298df045cf9fd969e690c6c24a03d59e433929db

parent

f6ec12656f64656fd13072badb6a69d39bf7382a

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