git.s-ol.nu mmm / b101863
fix sassc mismatch s-ol 2 months ago
4 changed file(s) with 5 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
55 RUN luarocks install moonscript
66 RUN luarocks install discount DISCOUNT_INCDIR=/usr/include/x86_64-linux-gnu
77 COPY . /build
8 RUN cd /build && tup init && tup generate build.sh && ./build.sh
8 RUN cd /build && tup init && tup generate --config tup.docker.config build.sh && ./build.sh
99
1010 FROM nginx:alpine
1111 COPY --from=build-env /build/root /usr/share/nginx/html
11 include_rules
22
33 !download = |> ^ DOWNLOAD %O^ curl -L https://github.com/fengari-lua/fengari-web/releases/download/@(FENGARI_VERSION)/`basename %o` > %o |>
4 !sassc = |> ^ SCSS %b^ sassc -m auto %f %o |> | %o.map
4 !sassc = |> ^ SCSS %b^ sassc @(SASS_ARGS) %f %o |> | %o.map
55
66 # download fengari dependencies
77 : |> !download |> root/fengari-web.js
11 CONFIG_FENGARI_VERSION=v0.1.4
2 CONFIG_SASS_ARGS=-m auto
1 CONFIG_FENGARI_VERSION=v0.1.4
2 CONFIG_SASS_ARGS=-m