forked from Uninett/Argus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
33 lines (24 loc) · 766 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.PHONY: clean testclean distclean coverageclean cacheclean nuke tailwind docclean
TAILWINDDIR=src/argus/htmx/tailwindtheme
STATICDIR=src/argus/htmx/static
clean:
-find . -name __pycache__ -print0 | xargs -0 rm -rf
-find . -name "*.pyc" -print0 | xargs -0 rm -rf
-find . -name "*.egg-info" -print0 | xargs -0 rm -rf
cacheclean:
-find . -name ".ruff_cache" -print0 | xargs -0 rm -rf
distclean:
-rm -rf ./dist
-rm -rf ./build
docclean:
-rm -rf ./docs/_build
coverageclean:
-rm .coverage
-rm .coverage.*
-rm coverage.xml
-rm -rf htmlcov
testclean: coverageclean clean
-rm -rf .tox
nuke: clean docclean distclean testclean cacheclean
tailwind:
tailwindcss -c $(TAILWINDDIR)/tailwind.config.js -i $(TAILWINDDIR)/styles.css -o $(STATICDIR)/styles.css