diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-04-10 09:34:37 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-04-10 09:34:37 +0300 |
commit | 3e3263edcd14eaef915b8054ef5ad0f3a6008638 (patch) | |
tree | 5ae6c0aaeac128cea52f53144d7eccb7470de9ec /Makefile | |
parent | c9a325afa58e8358ad64c250bec171a1448fcbaa (diff) |
Replace the legacy appstore target in Makefile with the Krankerl command
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 51 |
1 files changed, 2 insertions, 49 deletions
@@ -64,53 +64,6 @@ update-composer: composer.phar rm -f composer.lock php composer.phar install --prefer-dist -appstore: clean install-deps optimize-js - mkdir -p $(sign_dir) - rsync -a \ - --exclude=bower.json \ - --exclude=.bowerrc \ - --exclude=composer.json \ - --exclude=composer.lock \ - --exclude=composer.phar \ - --exclude=CONTRIBUTING.md \ - --exclude=coverage \ - --exclude=.git \ - --exclude=.gitattributes \ - --exclude=.github \ - --exclude=.gitignore \ - --exclude=Gruntfile.js \ - --exclude=.hg \ - --exclude=issue_template.md \ - --exclude=.jscsrc \ - --exclude=.jshintignore \ - --exclude=.jshintrc \ - --exclude=js/tests \ - --exclude=karma.conf.js \ - --exclude=l10n/no-php \ - --exclude=.tx \ - --exclude=Makefile \ - --exclude=nbproject \ - --exclude=/node_modules \ - --exclude=package.json \ - --exclude=.phan \ - --exclude=phpunit*xml \ - --exclude=screenshots \ - --exclude=.scrutinizer.yml \ - --exclude=tests \ - --exclude=.travis.yml \ - --exclude=vendor/bin \ - $(project_dir)/ $(sign_dir)/$(app_name) - @if [ -f $(cert_dir)/$(app_name).key ]; then \ - echo "Signing app files…"; \ - php ../../occ integrity:sign-app \ - --privateKey=$(cert_dir)/$(app_name).key\ - --certificate=$(cert_dir)/$(app_name).crt\ - --path=$(sign_dir)/$(app_name); \ - fi - tar -czf $(build_dir)/$(app_name).tar.gz \ - -C $(sign_dir) $(app_name) - @if [ -f $(cert_dir)/$(app_name).key ]; then \ - echo "Signing package…"; \ - openssl dgst -sha512 -sign $(cert_dir)/$(app_name).key $(build_dir)/$(app_name).tar.gz | openssl base64; \ - fi +appstore: + krankerl package |