-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
34 lines (24 loc) · 789 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
all: test doc dev
package: register upload
register:
python setup.py register
upload:
python setup.py sdist bdist upload
test:
nosetests
cd element/standalone/skeleton && nosetests
cd docs && sphinx-build -nW -b html -d _build/doctrees . _build/html
#for f in $$(find . -name '*.py'); do pyflakes $$f; done
install:
pip install -r requirements_test.txt
cd element/standalone/skeleton && bower install
doc:
cd docs && sphinx-build -nW -b html -d _build/doctrees . _build/html
dev:
cd element/standalone/skeleton && python proxy.py --bind element.vagrant
prod:
cd element/standalone/skeleton && python start.py tornado:start -np 8
bower:
cd element/standalone/skeleton && bower install
fixtures:
cd element/standalone/skeleton && python start.py element:demo:fixtures