From 62975b2391180b065f4a0f1537f8fbf191223b89 Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Mon, 9 Jan 2017 17:55:14 -0200 Subject: Functional tests and linters can now be ran standalone Also adapted the README to use the makefile for instructions --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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;\ -- cgit v1.2.3