summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorHK2FB <tom.schmidt@helsana.ch>2022-05-15 13:16:56 +0200
committerSean Molenaar <sean@seanmolenaar.eu>2022-05-22 16:07:30 +0200
commitb036d309c27132e4f10df952e9335afdb3edfeb5 (patch)
treee888f1fa178f2fe36baefcfb2ccc080ef27645ce /Makefile
parent50c8960f8d36ab6012f62034f815561078380dc0 (diff)
Vue Rewrite
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 3322b3b51..5a2e03f1a 100644
--- a/Makefile
+++ b/Makefile
@@ -84,7 +84,7 @@ endif
.PHONY: npm
npm:
ifneq (, $(npm))
- cd js && $(npm) run build
+ $(npm) run build
else
@echo "npm command not available, please install nodejs first"
@exit 1
@@ -200,12 +200,7 @@ php-test-dependencies:
.PHONY: unit-test
unit-test:
- @if [ "$(CODECOVERAGE)" = "true" ]; then \
- ./vendor/phpunit/phpunit/phpunit -c phpunit.xml --coverage-clover build/php-unit.clover; \
- else \
- ./vendor/phpunit/phpunit/phpunit -c phpunit.xml --no-coverage; \
- fi
-
+ ./vendor/phpunit/phpunit/phpunit -c phpunit.xml --coverage-clover build/php-unit.clover
# Command for running JS and PHP tests. Works for package.json files in the js/
# and root directory. If phpunit is not installed systemwide, a copy is fetched