diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2019-10-10 18:54:42 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2019-10-10 18:54:42 +0000 |
| commit | 005cc9b3914128267017620984aee921999e173f (patch) | |
| tree | d6253b9ff1129dd2e61323df31a79f39a4eb57e7 /Tupfile | |
| parent | fix bug with _, - in facet names (diff) | |
| download | mmm-005cc9b3914128267017620984aee921999e173f.tar.gz mmm-005cc9b3914128267017620984aee921999e173f.zip | |
move static files into root/
Diffstat (limited to 'Tupfile')
| -rw-r--r-- | Tupfile | 14 |
1 files changed, 3 insertions, 11 deletions
@@ -1,17 +1,9 @@ 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 @(SASS_ARGS) %f %o |> | %o.map +!sassc = |> ^ SCSS %b^ sassc @(SASS_ARGS) %f '%o' |> # render stylesheet -: scss/main.scss |> !sassc |> static/main.css - -# download fengari dependencies -: |> !download |> static/fengari-web.js -: |> !download |> static/fengari-web.js.map +: scss/main.scss |> !sassc |> root/static/style/text$css.css # bundle for client loading -: mmm/.bundle.lua | <modules> |> ^ WRAP %d^ moon &(build)/bundle_module.moon %o --wrap %f |> static/mmm.bundle.lua - -# copy for static builds -: foreach static/* |> cp %f out/.static/ |> out/.static/%b +: mmm/.bundle.lua | <modules> |> ^ WRAP %d^ moon &(build)/bundle_module.moon '%o' --wrap %f |> root/static/mmm/application$lua.lua |
