Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
add a 'clean' phony make target
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed May 20, 2020
1 parent e0a590f commit 8ce4d0f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ ALLENNLP_COMMIT_SHA = $(shell git ls-remote https://github.com/allenai/allennlp
version :
@echo AllenNLP Models $(VERSION)

.PHONY : clean
clean :
rm -rf .pytest_cache/
rm -rf allennlp_models.egg-info/
rm -rf dist/
rm -rf build/
find . | grep -E '(\.mypy_cache|__pycache__|\.pyc|\.pyo$$)' | xargs rm -rf

.PHONY : lint
lint :
flake8
Expand Down

0 comments on commit 8ce4d0f

Please sign in to comment.