We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c454d21 commit 3ad9018Copy full SHA for 3ad9018
Makefile
@@ -1,4 +1,4 @@
1
-.PHONY: dummy clean distclean testclean docclean doc .FORCE
+.PHONY: dummy clean distclean testclean docclean doc cssclean sassbuild sasswatch .FORCE
2
3
dummy:
4
@echo "'make' is no longer used for deployment. See 'doc/intro/install.rst'"
@@ -32,4 +32,17 @@ doc/reference/alerttypes.rst: .FORCE
32
echo "UID=$(shell id -u)" >> .env
33
echo "GID=$(shell id -g)" >> .env
34
35
+cssclean:
36
+ -rm -rf python/nav/web/static/css
37
+
38
+sassbuild: cssclean
39
+ @if [ -f package-lock.json ]; then \
40
+ (npm ci && npm run build:sass); \
41
+ else \
42
+ (npm install && npm run build:sass); \
43
+ fi
44
45
+sasswatch:
46
+ -npm run watch:sass
47
48
.FORCE:
0 commit comments