Skip to content

Commit

Permalink
Twiddle deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
winni2k committed Feb 15, 2018
1 parent ad5f4e7 commit e04517a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 11 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,18 @@ check_git_dirty:
git status --porcelain
test -z "$$(git status --porcelain)"

deploy: check_git_dirty test build
deploy: check_git_dirty
$(MAKE) test
$(MAKE) build
$(RUN_IN_ENV) twine upload dist/*

deploy-test: check_git_dirty test build
deploy-test: test
$(MAKE) build
$(RUN_IN_ENV) twine --repository testpypi upload dist/*

build: clean
pipenv lock
$(MAKE) check_git_dirty
$(MAKE) dist

dist:
Expand Down
37 changes: 28 additions & 9 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e04517a

Please sign in to comment.