Browse Source

Clean pyc files with `make clean`

Matt Robenolt 10 years ago
parent
commit
b12357fa3d
1 changed files with 5 additions and 1 deletions
  1. 5 1
      Makefile

+ 5 - 1
Makefile

@@ -36,7 +36,11 @@ setup-git:
 build: locale
 
 clean:
-	rm -r src/sentry/static/CACHE
+	@echo "--> Cleaning static cache"
+	rm -rf src/sentry/static/CACHE
+	@echo "--> Cleaning pyc files"
+	find . -name "*.pyc" -delete
+	@echo ""
 
 locale:
 	cd src/sentry && sentry makemessages -i static -l en