aboutsummaryrefslogtreecommitdiffstats
path: root/web/template/Makefile
diff options
context:
space:
mode:
authormsi2025-11-14 14:28:38 -0300
committermsi2025-11-14 14:28:38 -0300
commite8fe7f5532aee563a949b78098208da9e48445f2 (patch)
treefa4ecf7e398fe746862b81124a98e3756529d2cd /web/template/Makefile
parentc806356b760c9478ac6b47e22e71917ba436bcd8 (diff)
downloadtemplates-e8fe7f5532aee563a949b78098208da9e48445f2.tar.gz
Add submodule custom css
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)