-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
51 lines (36 loc) · 1020 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
view:
open http://127.0.0.1:8000/
migrate:
python manage.py migrate
run: migrate
python manage.py runserver
cleandb:
rm -f db.*
initdb: cleandb
python manage.py syncdb
doc:
open http://127.0.0.1:8080/docs/
install:
cd ../client; python setup.py install
upload_test:
python setup.py sdist bdist bdist_wheel upload -r https://testpypi.python.org/pypi
upload:
python setup.py sdist bdist bdist_wheel upload -r https://pypi.python.org/pypi
######################################################################
# CLEANING
######################################################################
clean:
# cd docs; make clean
rm -rf build dist docs/build .eggs *.egg-info
rm -rf *.egg-info
find . -name "*~" -exec rm {} \;
find . -name "*.pyc" -exec rm {} \;
rm -f db.*
echo "clean done"
######################################################################
# TAGGING
######################################################################
tag:
bin/new_version.sh
rmtag:
python setup.py rmtag