summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-05-16 11:38:31 +0200
committerJoas Schilling <coding@schilljs.com>2022-06-10 12:12:31 +0200
commitf0edd9cf52dc12fbdd9278650a70383b19968d98 (patch)
tree67b2e06c7471cbd6dbffd6928c1b7d95dadd9d10 /Makefile
parent2048ef7528e71dd6dbb5473dd29ea461b72cb7d1 (diff)
Require firebase JWT lib
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 721254998..8bb4910bb 100644
--- a/Makefile
+++ b/Makefile
@@ -11,14 +11,22 @@ package_name=$(app_name)
cert_dir=$(HOME)/.nextcloud/certificates
version+=master
-all: dev-setup build-js-production
+all: dev-setup build-production
-dev-setup: clean-dev npm-init
-
-dependabot: dev-setup npm-update build-js-production
+dev-setup: clean-dev composer-install-dev npm-init
release: appstore create-tag
+build-dev: composer-install-dev build-js
+
+build-production: composer-install-production build-js-production
+
+composer-install-dev:
+ composer install
+
+composer-install-production:
+ composer install --no-dev
+
build-js:
npm run dev
@@ -49,6 +57,7 @@ clean:
clean-dev: clean
rm -rf node_modules
+ rm -rf vendor
create-tag:
git tag -a v$(version) -m "Tagging the $(version) release."
@@ -89,7 +98,6 @@ appstore:
--exclude=stylelint.config.js \
--exclude=.tx \
--exclude=tests \
- --exclude=vendor \
--exclude=webpack.js \
$(project_dir)/ $(sign_dir)/$(app_name)
@if [ -f $(cert_dir)/$(app_name).key ]; then \