-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (35 loc) · 766 Bytes
/
Makefile
File metadata and controls
42 lines (35 loc) · 766 Bytes
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
34
35
36
37
38
39
40
41
42
help:
@echo "Available targets"
@echo ""
@echo " * install: install required 'build' packages."
@echo " * test: run tests using tox."
@echo " * serve: serve the demo project"
@echo " * docs: build the documentation"
@echo ""
@echo " Clean methods"
@echo " * clean-db: delete the demo database"
@echo " * clean-tox: delete the tox virtualenvs"
@echo " * clean-all: cleans everything"
@echo ""
@echo "Help?"
@echo " * help: display this help"
@echo ""
install:
pip install --upgrade tox pip
test:
tox
serve:
tox -e serve
.PHONY: docs
docs:
tox -e docs
.PHONY: clean-db
clean-db:
@echo "Drop demo database"
rm -f db.sqlite3
.PHONY: clean-tox
clean-tox:
@echo "Delete tox venvs"
rm -Rf .tox/
.PHONY: clean-all
clean-all: clean-db clean-tox