commit 22c7ba8569589485a403e543ce022108efb04c64 parent 4a72ed1b19221b835a24dbc1a9b8111e519277ab Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Mon, 18 Nov 2024 18:56:13 +0100 feat: make rule for css-application in docker Diffstat:
M | Makefile | | | 14 | ++++++++++++++ |
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -42,3 +42,17 @@ minify-css: -e 's/\s*<\s*/</g' | \ tee css/mobile.min.css > /dev/null +apply-css-docker: + docker cp ./css/purpleish.min.css ktistec:/app/public/3rd/purpleish.min.css + docker cp ./css/visibility.min.css ktistec:/app/public/3rd/visibility.min.css + docker cp ./css/mobile.min.css ktistec:/app/public/3rd/mobile.min.css + docker cp ./css/icons ktistec:/app/public/3rd/icons + docker exec -ti ktistec \ + sh -c " + echo \"@import url('purpleish.min.css');\" > /app/public/3rd/tmp && \ + echo \"@import url('visibility.min.css');\" >> /app/public/3rd/tmp && \ + echo \"@import url('mobile.min.css');\" >> /app/public/3rd/tmp && \ + cat /app/public/3rd/semantic*.css >> /app/public/3rd/tmp && \ + mv /app/public/3rd/tmp /app/public/3rd/semantic-*.min.css + " +