forked from flaskbb/flaskbb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
34 lines (26 loc) · 799 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
34
.PHONY: clean install help test run dependencies docs
help:
@echo " clean remove unwanted stuff"
@echo " install install dependencies and flaskbb"
@echo " devconfig generates a development config"
@echo " test run the testsuite"
@echo " run run the development server with the development config"
@echo " docs build the documentation"
dependencies:requirements.txt
pip install -r requirements.txt
clean:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
find . -name '__pycache__' -exec rm -rf {} +
test:
py.test
run:
flaskbb --config ./flaskbb.cfg run
devconfig:
flaskbb makeconfig -d
install:dependencies
clear
flaskbb --config ./flaskbb.cfg install
docs:
$(MAKE) -C docs html