all repos — min @ 1c8a8b9c793862632581d47c4e76d42e063be063

A small but practical concatenative programming language.

Updated to work with the latest hastysite.
h3rald h3rald@h3rald.com
Sun, 11 Jun 2017 22:20:37 +0200
commit

1c8a8b9c793862632581d47c4e76d42e063be063

parent

243bb434a1415c09ccb53a7fd94388140eb3bcef

M site/contents/about.mdsite/contents/about.md

@@ -1,5 +1,5 @@

----- -content-type: page -title: About +content-type: "page" +title: "About" ----- Coming soon...
M site/contents/download.mdsite/contents/download.md

@@ -1,6 +1,6 @@

----- -content-type: page -title: Download +content-type: "page" +title: "Download" ----- You can download one of the following pre-built min binaries:
M site/contents/home.mdsite/contents/home.md

@@ -1,6 +1,6 @@

----- -content-type: page -title: Welcome to min +content-type: "page" +title: "Welcome to min" ----- <div class="note"> <p>Under Construction</p>
M site/contents/learn.mdsite/contents/learn.md

@@ -1,5 +1,5 @@

----- -content-type: page -title: Learn +content-type: "page" +title: "Learn" ----- -{@ _includes/_learn.md || 0 @}+{@ _includes/_learn.md || 0 @}
M site/contents/reference-crypto.mdsite/contents/reference-crypto.md

@@ -1,5 +1,5 @@

----- -content-type: page -title: crypto Module +content-type: "page" +title: "crypto Module" ----- -{@ _includes/_reference-crypto.md || 1 @}+{@ _includes/_reference-crypto.md || 1 @}
M site/contents/reference-fs.mdsite/contents/reference-fs.md

@@ -1,5 +1,5 @@

----- -content-type: page -title: fs Module +content-type: "page" +title: "fs Module" ----- -{@ _includes/_reference-fs.md || 1 @}+{@ _includes/_reference-fs.md || 1 @}
M site/contents/reference-io.mdsite/contents/reference-io.md

@@ -1,5 +1,5 @@

----- -content-type: page -title: io Module +content-type: "page" +title: "io Module" ----- -{@ _includes/_reference-io.md || 1 @}+{@ _includes/_reference-io.md || 1 @}
M site/contents/reference-lang.mdsite/contents/reference-lang.md

@@ -1,5 +1,5 @@

----- -content-type: page -title: lang Module +content-type: "page" +title: "lang Module" ----- -{@ _includes/_reference-lang.md || 1 @}+{@ _includes/_reference-lang.md || 1 @}
M site/contents/reference-logic.mdsite/contents/reference-logic.md

@@ -1,5 +1,5 @@

----- -content-type: page -title: logic Module +content-type: "page" +title: "logic Module" ----- -{@ _includes/_reference-logic.md || 1 @}+{@ _includes/_reference-logic.md || 1 @}
M site/contents/reference-num.mdsite/contents/reference-num.md

@@ -1,5 +1,5 @@

----- -content-type: page -title: num Module +content-type: "page" +title: "num Module" ----- -{@ _includes/_reference-num.md || 1 @}+{@ _includes/_reference-num.md || 1 @}
M site/contents/reference-seq.mdsite/contents/reference-seq.md

@@ -1,5 +1,5 @@

----- -content-type: page -title: seq Module +content-type: "page" +title: "seq Module" ----- -{@ _includes/_reference-seq.md || 1 @}+{@ _includes/_reference-seq.md || 1 @}
M site/contents/reference-stack.mdsite/contents/reference-stack.md

@@ -1,5 +1,5 @@

----- -content-type: page -title: stack Module +content-type: "page" +title: "stack Module" ----- -{@ _includes/_reference-stack.md || 1 @}+{@ _includes/_reference-stack.md || 1 @}
M site/contents/reference-str.mdsite/contents/reference-str.md

@@ -1,5 +1,5 @@

----- -content-type: page -title: str Module +content-type: "page" +title: "str Module" ----- -{@ _includes/_reference-str.md || 1 @}+{@ _includes/_reference-str.md || 1 @}
M site/contents/reference-sys.mdsite/contents/reference-sys.md

@@ -1,5 +1,5 @@

----- -content-type: page -title: sys Module +content-type: "page" +title: "sys Module" ----- -{@ _includes/_reference-sys.md || 1 @}+{@ _includes/_reference-sys.md || 1 @}
M site/contents/reference-time.mdsite/contents/reference-time.md

@@ -1,5 +1,5 @@

----- -content-type: page -title: time Module +content-type: "page" +title: "time Module" ----- -{@ _includes/_reference-time.md || 1 @}+{@ _includes/_reference-time.md || 1 @}
M site/contents/reference.mdsite/contents/reference.md

@@ -1,6 +1,6 @@

----- -content-type: page -title: Reference +content-type: "page" +title: "Reference" ----- -{@ _includes/_reference.md || 0 @}+{@ _includes/_reference.md || 0 @}
M site/rules.minsite/rules.min

@@ -1,5 +1,4 @@

'hastysite import -'stack import ;Routing (

@@ -51,11 +50,11 @@ ) case

) :process-content ;Main -modified ( +contents ( dup ( ((/id "^_includes" match) ()) ;Ignore files starting with underscore. - ((asset?) (copy2output)) - ((content?) (process-content set-destination output-fwrite)) + ((true) (process-content set-destination output-fwrite)) ) case ) foreach +assets (copy2output) foreach
A site/scripts/build.min

@@ -0,0 +1,8 @@

+;Builds a site by processing contents and assets. +'hastysite import + +"Preprocessing..." notice +preprocess +"Processing rules.." notice +process-rules +"All done." notice
A site/scripts/clean.min

@@ -0,0 +1,8 @@

+;Deletes all temporary and output files. +'hastysite import + +"Cleaning temporary folder..." notice +clean-temp +"Cleaning output folder..." notice +clean-output +"All done." notice