aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/render_all.moon6
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'