Fix makefile

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2020-07-10 17:58:48 +02:00
parent b8f4a677a8
commit 4a18b13219
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
2 changed files with 8 additions and 6 deletions

3
.gitignore vendored
View File

@ -19,4 +19,5 @@ build/
coverage*
vendor/
/.php_cs.cache
.php_cs.cache
composer.phar

View File

@ -9,13 +9,10 @@ source_package_name=$(source_build_directory)/$(app_name)
appstore_build_directory=$(CURDIR)/build/artifacts/appstore
appstore_package_name=$(appstore_build_directory)/$(app_name)
all: dev-setup lint build-js-production test-php
all: dev-setup lint build-js-production install-composer-deps-dev test-php
# Dev env management
dev-setup: clean clean-dev npm-init
npm-init:
npm ci
dev-setup: clean clean-dev install-npm-deps-dev
npm-update:
npm update
@ -25,6 +22,9 @@ composer.phar:
install-deps: install-composer-deps-dev install-npm-deps-dev
install-npm-deps-dev:
npm ci
install-composer-deps: composer.phar
php composer.phar install --no-dev -o
@ -79,6 +79,7 @@ clean:
clean-dev:
rm -rf node_modules
rm -rf vendor
# Builds the source package for the app store, ignores php and js tests
appstore: