summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruno Wagner <bwagner@riseup.net>2017-01-09 17:55:14 -0200
committerBruno Wagner <bwagner@riseup.net>2017-01-09 17:55:14 -0200
commit62975b2391180b065f4a0f1537f8fbf191223b89 (patch)
treeb533f209dff262be7dd6a6b2291fc02cb773617d /Makefile
parent8967edec473d9d98feeab8ff65cee20d1db6b159 (diff)
Functional tests and linters can now be ran standalone
Also adapted the README to use the makefile for instructions
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 962138c8..c00dd461 100644
--- a/Makefile
+++ b/Makefile
@@ -57,6 +57,9 @@ test_js: clean requirements_js install_js linters_js unit_tests_js
.PHONY: test_all
test_all: test functional_tests
+.PHONY: linters
+linters: clean requirements install linters_py linters_js
+
.PHONY: linters_py
linters_py:
@echo "Running pep8"
@@ -100,7 +103,7 @@ integration_tests:
trial -j`grep -c "^processor" /proc/cpuinfo || sysctl -n hw.logicalcpu` --reporter=text test.integration
.PHONY: functional_tests
-functional_tests: ensure_phantomjs_installed
+functional_tests: clean requirements install ensure_phantomjs_installed
@echo "Running behave functional tests"
@source $(VIRTUALENV)/bin/activate;\
cd service;\