diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2018-11-08 06:17:17 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2018-11-08 06:17:17 +0000 |
| commit | d11441884740d394f73f1a145b502e270482a2d2 (patch) | |
| tree | 8ce1258d8f66a65945b611b6a2836eadd5861889 /Tupfile | |
| parent | add $order mechanism (diff) | |
| download | mmm-d11441884740d394f73f1a145b502e270482a2d2.tar.gz mmm-d11441884740d394f73f1a145b502e270482a2d2.zip | |
recursive tup stuff
Diffstat (limited to 'Tupfile')
| -rw-r--r-- | Tupfile | 29 |
1 files changed, 4 insertions, 25 deletions
@@ -1,4 +1,4 @@ -.gitignore +include_rules !download = |> ^ DOWNLOAD %O^ curl -L https://github.com/fengari-lua/fengari-web/releases/download/@(FENGARI_VERSION)/`basename %o` > %o |> !sassc = |> ^ SCSS %b^ sassc -mauto %f %o |> | %o.map @@ -11,30 +11,9 @@ # render stylesheet : scss/main.scss |> !sassc |> dist/main.css -# preload full mmmfs tree -preload root -preload root/articles -preload root/articles/mmmfs -preload root/articles/mmmfs/empty -preload root/articles/mmmfs/image -preload root/articles/mmmfs/markdown -preload root/articles/realities -preload root/animations -preload root/animations/twisted -preload root/animations/koch -preload root/experiments -preload root/experiments/center_of_mass -preload root/experiments/tags -preload root/meta -preload root/meta/mmm.dom -preload root/meta/test_mmm.component -preload root/meta/todo - -# preload all of mmm -preload mmm -preload mmm/dom -preload mmm/mmmfs -preload mmm/component +# bundle for client loading +: mmm/.bundle.lua | <modules> |> ^ WRAP %d^ moon bundle.moon %o --wrap %f |> dist/mmm.bundle.lua +: root/$bundle.lua | <children> |> ^ WRAP %d^ cp '%f' '%o' |> dist/root.lua # render static content and compile sources run moon tup.moon |
