From 9ef8179cb3031953a414464838301aa43d2434a8 Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Fri, 22 Jan 2016 12:22:54 +0100 Subject: [PATCH] Define shell as bash --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3383fbc0..e6de9c1e 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +SHELL=/bin/bash + all: npm install @@ -17,15 +19,15 @@ TEST_SUITE_ACCEPTANCE := $(shell find test/acceptance -name "*.js") test: @echo "***tests***" - test/run_tests.sh ${RUNTESTFLAGS} $(TEST_SUITE) + @$(SHELL) test/run_tests.sh ${RUNTESTFLAGS} $(TEST_SUITE) test-unit: @echo "***unit tests***" - test/run_tests.sh ${RUNTESTFLAGS} $(TEST_SUITE_UNIT) + @$(SHELL) test/run_tests.sh ${RUNTESTFLAGS} $(TEST_SUITE_UNIT) test-acceptance: @echo "***acceptance tests***" - test/run_tests.sh ${RUNTESTFLAGS} $(TEST_SUITE_ACCEPTANCE) + @$(SHELL) test/run_tests.sh ${RUNTESTFLAGS} $(TEST_SUITE_ACCEPTANCE) test-all: jshint test