From 735c78d3ecb695dd16cb37879880f522c4b29c72 Mon Sep 17 00:00:00 2001 From: Johan Fleury Date: Mon, 8 Oct 2018 12:58:12 -0400 Subject: Import upstream version 1.7.0 --- Makefile | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2a76f88 --- /dev/null +++ b/Makefile @@ -0,0 +1,47 @@ +help: + @echo "Please use 'make ' where is one of" + @echo " clean remove temporary files created by build tools" + @echo " cleanegg remove temporary files created by build tools" + @echo " cleanpy remove temporary python files" + @echo " cleancov remove files used and generated by coverage tools" + @echo " cleanall all the above + tmp files from development tools (Not cleantox)" + @echo " cleantox remove files created by tox" + @echo " test run test suite" + @echo " sdist make a source distribution" + @echo " install install package" + +clean: + -rm -f MANIFEST + -rm -rf dist/ + -rm -rf build/ + +cleantox: + -rm -rf .tox/ + +cleancov: + coverage combine + coverage erase + -rm -rf htmlcov/ + +cleanegg: + -rm -rf pykwalify.egg-info/ + +cleanpy: + -find . -type f -name "*~" -exec rm -f "{}" \; + -find . -type f -name "*.orig" -exec rm -f "{}" \; + -find . -type f -name "*.rej" -exec rm -f "{}" \; + -find . -type f -name "*.pyc" -exec rm -f "{}" \; + -find . -type f -name "*.parse-index" -exec rm -f "{}" \; + -find . -type d -name "__pycache__" -exec rm -rf "{}" \; + +cleanall: clean cleanegg cleanpy cleancov + +test: + coverage erase + coverage run --source pykwalify/ -m python py.test + +sdist: + python setup.py sdist + +install: + python setup.py install -- cgit v1.2.3