aboutsummaryrefslogtreecommitdiffstats
path: root/web/template/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/Makefile')
-rw-r--r--web/template/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/web/template/Makefile b/web/template/Makefile
new file mode 100644
index 0000000..447ab66
--- /dev/null
+++ b/web/template/Makefile
@@ -0,0 +1,17 @@
+SASS ?= sass
+PNPM ?= pnpm
+
+CUSTOM_BOOTSTRAP_SCSS := vendor/custom-bootstrap/scss/custom.scss
+CUSTOM_CSS_OUT := assets/css/custom.css
+VENDOR_FOLDER := vendor/custom-bootstrap
+
+.PHONY: css watch-css install
+
+install:
+ $(SASS) -C $(VENDOR_FOLDER) install
+
+css:
+ $(SASS) $(CUSTOM_BOOTSTRAP_SCSS) $(CUSTOM_CSS_OUT)
+
+watch-css:
+ $(SASS) --watch $(CUSTOM_BOOTSTRAP_SCSS):$(CUSTOM_CSS_OUT)