Makefile 308 B

12345678910111213141516
  1. PHONY: clean lint test build publish
  2. clean:
  3. rm -rf build/ dist/ django_changelist_inline.egg-info/
  4. lint:
  5. flake8 django_changelist_inline/ testing/ tests/ settings.py setup.py
  6. test:
  7. pytest
  8. build:
  9. python setup.py build sdist bdist_wheel
  10. publish:
  11. twine upload --repository pypi --skip-existing dist/*