forked from python-provy/provy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
29 lines (20 loc) · 896 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
vows:
@env PYTHONPATH=. pyvows --cover --cover_package=provy --cover_package=unit.tools.role_context --cover_threshold=80.0 tests/
setup:
@pip install --requirement=REQUIREMENTS
vms:
@cd vagrant && vagrant destroy && vagrant up
front:
@cd tests/functional && env PYTHONPATH=../../ python ../../provy/console.py -s test.frontend -p vagrant front-end-user=frontend
back:
@cd tests/functional && env PYTHONPATH=../../ python ../../provy/console.py -s test.backend -p vagrant
djangofront:
@cd tests/functional && env PYTHONPATH=../../ python ../../provy/console.py -s test.frontend -p vagrant front-end-user=frontend django_provyfile.py
djangoback:
@cd tests/functional && env PYTHONPATH=../../ python ../../provy/console.py -s test.backend -p vagrant django_provyfile.py
ssh:
@cd vagrant && vagrant ssh frontend
ssh-back:
@cd vagrant && vagrant ssh backend
docs:
@python docs.py