split build and assemble

This commit is contained in:
korelstar 2021-03-04 22:04:28 +01:00
parent 5c9839df8c
commit 23168c56bf
1 changed files with 3 additions and 2 deletions

View File

@ -30,6 +30,8 @@ npm-update:
##### Building ##### ##### Building #####
build: clean build-js-production assemble
appstore: lint build appstore: lint build
@echo "Signing…" @echo "Signing…"
php ../server/occ integrity:sign-app \ php ../server/occ integrity:sign-app \
@ -40,8 +42,7 @@ appstore: lint build
-C $(build_dir) $(app_name) -C $(build_dir) $(app_name)
openssl dgst -sha512 -sign $(cert_dir)/$(app_name).key $(build_dir)/$(app_name).tar.gz | openssl base64 openssl dgst -sha512 -sign $(cert_dir)/$(app_name).key $(build_dir)/$(app_name).tar.gz | openssl base64
assemble:
build: clean build-js-production
mkdir -p $(build_dir) mkdir -p $(build_dir)
rsync -a \ rsync -a \
--exclude=.babelrc.js \ --exclude=.babelrc.js \