Commits

Dmitri Lebedev committed 1bc3e5d

smarter touch and included pyflakes

Comments (0)

Files changed (2)

 check_pyflakes: bin/pyflakes
 	find . -name '*.py' -exec ./bin/pyflakes {} \;
 
-bin/pyflakes: bin/buildout
-	./bin/buildout install pyflakes
-
 .PHONY: check_pep8
 check_pep8: bin/pep8
 	find . -name '*.py' -exec ./bin/pep8 {} \;
 	./bin/buildout install pep8
 
 bin/django: bin/buildout buildout.cfg
-	./bin/buildout
-	touch bin/django
-	touch bin/prod
+	./bin/buildout && touch bin/django bin/prod
 
 bin/buildout:
 	python bootstrap.py --distribute
 
 syncdb: bin/django
-	./bin/django syncdb
-	touch syncdb
+	./bin/django syncdb && touch syncdb
 
 .PHONY: make_trans
 make_trans: bin/django
 	./bin/buildout install coffee
 
 # rebuilds the database (useful for development environment)
-.PHONY: rebuild
+.PHONY: rebuilddb
 rebuilddb: bin/django
 	bin/django reset_db --router=default --noinput
 	bin/django syncdb --noinput
 	cleanup
 	sass
 	yuic
+	pyflakes
 
 project = project
 eggs =