Skip to content

Commit

Permalink
Add clean task in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ylogx committed Jun 12, 2015
1 parent 807ed81 commit 9551ae1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ install:
@echo "Creating distribution package for version $(VERSION)"
@echo "-----------------------------------------------"
$(PYTHON_EXEC) setup.py sdist
@echo "Installing package using pip"
@echo "Installing package using $(PIP_EXEC)"
@echo "----------------------------"
$(PIP_EXEC) install --upgrade dist/$(PACKAGE)-$(VERSION).tar.gz

Expand All @@ -47,3 +47,7 @@ test3:
echo === Running python3 test: $(TEST); \
$(PYTHON3_EXEC) -m $(TEST) $(PYFLAGS); \
)

clean:
find . -type f -name '*.pyc' -exec rm {} +
find . -type d -name '__pycache__' -exec rm -r {} +

0 comments on commit 9551ae1

Please sign in to comment.