Skip to content

Commit

Permalink
Update rules
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed Feb 10, 2019
1 parent 337a8e9 commit 418af70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
PACKAGE := typepy
BUILD_DIR := build
DOCS_DIR := docs
DOCS_BUILD_DIR := $(DOCS_DIR)/_build

Expand All @@ -15,12 +14,11 @@ build:
@make clean
@python setup.py build
@twine check dist/*
@rm -rf $(BUILD_DIR)/
@python setup.py clean --all

.PHONY: clean
clean:
@rm -rf $(PACKAGE)-*.*.*/ \
$(BUILD_DIR) \
$(BUILD_WORK_DIR) \
$(DOCS_BUILD_DIR) \
dist/ \
Expand All @@ -29,6 +27,8 @@ clean:
.tox/ \
**/*/__pycache__/ \
*.egg-info/
@python setup.py clean --all
@find . -not -path '*/\.*' -type f | grep -E .+\.py\.[a-z0-9]{32,}\.py$ | xargs -r rm

.PHONY: docs
docs:
Expand Down

0 comments on commit 418af70

Please sign in to comment.