Skip to content

Commit

Permalink
Delete dist and other generated files to build package from scratch
Browse files Browse the repository at this point in the history
Signed-off-by: Oliwia Zaremba <[email protected]>
  • Loading branch information
tortila committed May 17, 2019
1 parent 3fde4b7 commit 2c5186f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ before_deploy:
deploy:
# Main releases: tags set on master
- provider: script
script: poetry publish --build
script: make clean && poetry publish --build
on:
branch: master
# We don't want to publish a release twice (once for each supported
Expand Down
4 changes: 4 additions & 0 deletions common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ lint: black flake8
.PHONY: flake8
flake8: configure
poetry run flake8 $(SRC)

.PHONY: clean
clean:
rm -rf .make .pytest_cache __pycache__ dist .hypothesis har_transformer.egg-info

0 comments on commit 2c5186f

Please sign in to comment.