summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-12-29 12:24:04 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-12-29 12:24:04 +0100
commit2136ba277253cda96a7f276ce419d2ec55a6b3c7 (patch)
tree6bd55d7dfd370d46d984a510d78cd435ab7b91f5 /Makefile
parent273e95ddb2a1684a7aecd0e20459059df4773d7d (diff)
Fix dev setup errors
* Drop non-existent phpunit integration tests * Do not run php tests for a dev setup * Replace Makefile one-line commands with the simple npm command Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile30
1 files changed, 1 insertions, 29 deletions
diff --git a/Makefile b/Makefile
index c056d9d4..43a88474 100644
--- a/Makefile
+++ b/Makefile
@@ -9,14 +9,11 @@ source_package_name=$(source_build_directory)/$(app_name)
appstore_build_directory=$(CURDIR)/build/artifacts
appstore_package_name=$(appstore_build_directory)/$(app_name)
-all: dev-setup lint build-js-production install-composer-deps-dev test-php
+all: dev-setup lint build-js-production install-composer-deps-dev
# Dev env management
dev-setup: clean clean-dev install-npm-deps-dev
-npm-update:
- npm update
-
composer.phar:
curl -sS https://getcomposer.org/installer | php
@@ -31,34 +28,9 @@ install-composer-deps: composer.phar
install-composer-deps-dev: composer.phar
php composer.phar install -o
-# Building
-build-js:
- npm run dev
-
-build-js-production:
- npm run build
-
-watch-js:
- npm run watch
-
-# Testing
-test:
- npm run test
-
test-watch:
npm run test:watch
-test-coverage:
- npm run test:coverage
-
-test-php:
- php composer.phar run test:unit
- php composer.phar run test:integration
-
-test-php-coverage:
- php composer.phar run test:unit -- --coverage-clover=coverage-unit.xml
- php composer.phar run test:integration -- --coverage-clover=coverage-integration.xml
-
# Linting
lint:
npm run lint