forked from victorskl/yawsso
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
44 lines (32 loc) · 795 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
install:
@pip install '.[dev,test]' .
test:
@py.test
unit:
@python -m unittest
coverage:
@coverage run --source=yawsso -m pytest tests/
tox:
@tox -vv
nose:
@nose2 -vv
tf:
@AWS_PROFILE=dev terraform refresh
smoke:
@terraform plan
@cdk synth --app "python cdk.py" --profile dev
@cw ls -p dev groups
.PHONY: doc
doc:
@py.test --cov-report html:local/coverage --cov=yawsso tests/
@py.test --cov-report xml:local/coverage.xml --cov=yawsso tests/
.PHONY: dist
dist:
@python setup.py sdist bdist_wheel
# Usage: make ver version=0.1.0
ver: dist/yawsso-$(version).tar.gz
@echo $(version)
testpypi: dist/yawsso-$(version).tar.gz
@twine upload --repository testpypi --sign dist/yawsso-$(version)*
pypi: dist/yawsso-$(version).tar.gz
@twine upload --sign dist/yawsso-$(version)*