-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (22 loc) · 879 Bytes
/
Makefile
File metadata and controls
31 lines (22 loc) · 879 Bytes
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
clean:
rm -rf dist/* build/* +
find . -name '*.pyc' -exec rm --force {} +
find . -name '*.pyo' -exec rm --force {} +
test-unit:
pytest test/unit --numprocesses=auto --dist=load --junit-xml=junit_unit.xml --verbose
test-template:
python3 -m pytest test/deployment/service_template_generator_test.py -vv
test-integration:
pytest -s test/test_cloudlift.py
package: clean
python3 setup.py sdist bdist_wheel
package-test-upload: package
python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
install-test-package:
pip install -r requirements.txt
pip uninstall -y cloudlift
pip install -U --index-url https://test.pypi.org/simple/ --no-deps cloudlift
cloudlift --version
package-upload: package
python3 -m twine upload dist/*
.PHONY: clean test-template test-integration package package-test-upload install-test-package package-upload