Skip to content

Commit

Permalink
Even better linting of dist artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed May 29, 2019
1 parent 2841259 commit b30d574
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,11 @@ flake8:
lint:
$(IN_VENV) tox -e py27-lint && tox -e py34-lint

lint-dist: dist
_lint-dist:
$(IN_VENV) twine check dist/*

lint-dist: dist _lint-dist

tests:
$(IN_VENV) nosetests $(NOSE_TESTS)

Expand Down Expand Up @@ -130,7 +132,7 @@ _release-test-artifacts:
$(IN_VENV) twine upload -r test dist/*
open https://testpypi.python.org/pypi/$(PROJECT_NAME) || xdg-open https://testpypi.python.org/pypi/$(PROJECT_NAME)

dist-all: lint-dist _dist-lib
dist-all: dist _dist-lib _lint-dist

release-test-artifacts: dist-all _release-test-artifacts

Expand Down Expand Up @@ -165,7 +167,7 @@ _dist-lib:
$(IN_VENV) PULSAR_GALAXY_LIB=1 python setup.py sdist bdist_wheel
ls -l dist

dist-lib: clean _dist-lib
dist-lib: clean-pyc clean-build _dist-lib

build-coexecutor-container:
$(MAKE) -C docker/coexecutor all
Expand Down

0 comments on commit b30d574

Please sign in to comment.