aboutsummaryrefslogtreecommitdiffstats
path: root/Tupfile
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2019-10-10 18:54:42 +0000
committers-ol <s-ol@users.noreply.github.com>2019-10-10 18:54:42 +0000
commit005cc9b3914128267017620984aee921999e173f (patch)
treed6253b9ff1129dd2e61323df31a79f39a4eb57e7 /Tupfile
parentfix bug with _, - in facet names (diff)
downloadmmm-005cc9b3914128267017620984aee921999e173f.tar.gz
mmm-005cc9b3914128267017620984aee921999e173f.zip
move static files into root/
Diffstat (limited to 'Tupfile')
-rw-r--r--Tupfile14
1 files changed, 3 insertions, 11 deletions
diff --git a/Tupfile b/Tupfile
index 29388cf..0d771d1 100644
--- a/Tupfile
+++ b/Tupfile
@@ -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