Commits

Dmitri Lebedev committed 1f51eaa

added webfaction to makefile

Comments (0)

Files changed (1)

 
 .PHONY: check_pyflakes
 check_pyflakes: bin/pyflakes
-	find . -name '*.py' -exec pyflakes {} \;
+	find . -name '*.py' -exec ./bin/pyflakes {} \;
 
 bin/pyflakes: bin/buildout
 	./bin/buildout install pyflakes
 
-bin/django: bin/buildout
+.PHONY: check_pep8
+check_pep8: bin/pep8
+	find . -name '*.py' -exec ./bin/pep8 {} \;
+
+bin/pep8: bin/buildout
+	./bin/buildout install pep8
+
+bin/django: bin/buildout buildout.cfg
 	./bin/buildout
 
 bin/buildout:
 
 .PHONY: make_trans
 make_trans: bin/django
-	./bin/django makemessages -a -e 'html,haml'
+	./bin/django makemessages -a -e 'py,html,haml'
 
 .PHONY: compile_trans
 compile_trans: bin/django
 	./bin/django compilemessages
 
-bin/sass: bin/buildout
+bin/sass:
 	gem install sass --bindir bin
+
+webfaction: djangopaths.py bin/django
+	./bin/buildout install webfaction
+
+djangopaths.py buildout.cfg: