makefile 352 Bytes
Newer Older
Ferry Jérémie's avatar
Ferry Jérémie committed
1
2
3
4
5
6
7
8
9
.PHONY: unittest flake8 run test diagram clean

unittest:
	python3 -m unittest

flake8:
	flake8 --filename="*.py./primtuxmenu"

run:
10
	export FLASK_APP=primtuxmenu.py && flask run --reload
Ferry Jérémie's avatar
Ferry Jérémie committed
11
12
13
14
15
16
17
18
19
20
21
22

test:
	make unittest
	make flake8

diagram:
	dot -Tpng diagram.dot -o diagram.png
	dot -Tsvg diagram.dot -o diagram.svg

clean:
	rm -f MANIFEST
	rm -rf build dist