diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-01-30 13:29:39 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-02-01 15:19:08 +0000 |
| commit | 4e87b58bad3879633e4db3c93a152cf6f777784b (patch) | |
| tree | b8148c48c2044197af057ab758cdefb11547dae6 /build | |
| parent | fix static rendering (diff) | |
| download | mmm-4e87b58bad3879633e4db3c93a152cf6f777784b.tar.gz mmm-4e87b58bad3879633e4db3c93a152cf6f777784b.zip | |
static rendering root prefix
Diffstat (limited to 'build')
| -rw-r--r-- | build/render_all.moon | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/build/render_all.moon b/build/render_all.moon index 57406be..1135d27 100644 --- a/build/render_all.moon +++ b/build/render_all.moon @@ -8,8 +8,8 @@ add '?/init' add '?/init.server' -- usage: --- moon render_all.moon [STORE] [output] [startpath] -{ store, output, startpath } = arg +-- moon render_all.moon [STORE] [output] [URL-prefix] +{ store, output, prefix } = arg require 'mmm' import Fileder, dir_base from require 'mmm.mmmfs.fileder' @@ -25,6 +25,8 @@ STATIC = { with io.open path, 'w' \write val \close! + + root: prefix } require 'mmm.mmmfs' |
