We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f0bda3 commit f6e074eCopy full SHA for f6e074e
Makefile
@@ -0,0 +1,32 @@
1
+.EXPORT_ALL_VARIABLES:
2
+
3
+PROJECT_NAME=openapi-spec-validator
4
+PACKAGE_NAME=$(subst -,_,${PROJECT_NAME})
5
+VERSION=`git describe --abbrev=0`
6
7
+params:
8
+ @echo "Project name: ${PROJECT_NAME}"
9
+ @echo "Package name: ${PACKAGE_NAME}"
10
+ @echo "Version: ${VERSION}"
11
12
+dist-build:
13
+ @python setup.py bdist_wheel
14
15
+dist-cleanup:
16
+ @rm -rf build dist ${PACKAGE_NAME}.egg-info
17
18
+dist-upload:
19
+ @twine upload dist/*.whl
20
21
+test-python:
22
+ @python setup.py test
23
24
+test-cache-cleanup:
25
+ @rm -rf .pytest_cache
26
27
+reports-cleanup:
28
+ @rm -rf reports
29
30
+test-cleanup: test-cache-cleanup reports-cleanup
31
32
+cleanup: dist-cleanup test-cleanup
0 commit comments