-
Notifications
You must be signed in to change notification settings - Fork 73
/
Makefile
44 lines (33 loc) · 1.06 KB
/
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
run:
cd testproject;python manage.py runserver 0.0.0.0:9000
pyenv:
pip install pipenv --upgrade
pipenv --python 3
pipenv install -d --skip-lock
pipenv shell
black:
black ./
test:
coverage run ./runtests.py
isort:
isort ./lbworkflow
upload:
python setup.py sdist --formats=gztar upload
wfgen:
python testproject/wfgen.py
wfgen_clean:
python testproject/wfgen.py clean
reload_test_data:
cd testproject;python manage.py callfunc lbworkflow.wfdata.load_data
cd testproject;python manage.py callfunc lbworkflow.simplewf.wfdata.load_data
cd testproject;python manage.py callfunc lbworkflow.tests.wfdata.load_data
cd testproject;python manage.py callfunc lbworkflow.tests.leave.wfdata.load_data
cd testproject;python manage.py callfunc lbworkflow.tests.issue.wfdata.load_data
cd testproject;python manage.py callfunc lbworkflow.tests.purchase.wfdata.load_data
build_docker_image:
docker build -t lbworkflow .
create_docker_container:
docker run -d -p 9000:9000 --name lbworkflow lbworkflow
install-pre-commit:
pre-commit install
pre-commit run --all-files