mirror of
https://github.com/netzbegruenung/groupfolders.git
synced 2024-05-04 10:23:41 +02:00
Merge pull request #800 from nextcloud/backport/798/stable4
[stable4] Exclude files that are not needed from build
This commit is contained in:
commit
51ce88753f
34
Makefile
34
Makefile
|
@ -39,23 +39,35 @@ create-tag:
|
|||
appstore: clean build/main.js
|
||||
mkdir -p $(sign_dir)
|
||||
rsync -a \
|
||||
--exclude=/docs \
|
||||
--exclude=/build/sign \
|
||||
--exclude=/translationfiles \
|
||||
--exclude=/.tx \
|
||||
--exclude=/tests \
|
||||
--exclude=/.babelrc.js \
|
||||
--exclude=/.drone.yml \
|
||||
--exclude=/.git \
|
||||
--exclude=/.github \
|
||||
--exclude=/l10n/l10n.pl \
|
||||
--exclude=/CONTRIBUTING.md \
|
||||
--exclude=/issue_template.md \
|
||||
--exclude=/README.md \
|
||||
--exclude=/node_modules \
|
||||
--exclude=/.gitattributes \
|
||||
--exclude=/.github \
|
||||
--exclude=/.gitignore \
|
||||
--exclude=/.php_cs.dist \
|
||||
--exclude=/.scrutinizer.yml \
|
||||
--exclude=/.travis.yml \
|
||||
--exclude=/.tx \
|
||||
--exclude=/CONTRIBUTING.md \
|
||||
--exclude=/Makefile \
|
||||
--exclude=/README.md \
|
||||
--exclude=/build/sign \
|
||||
--exclude=/composer.json \
|
||||
--exclude=/composer.lock \
|
||||
--exclude=/docs \
|
||||
--exclude=/issue_template.md \
|
||||
--exclude=/l10n/l10n.pl \
|
||||
--exclude=/node_modules \
|
||||
--exclude=/package-lock.json \
|
||||
--exclude=/package.json \
|
||||
--exclude=/postcss.config.js \
|
||||
--exclude=/src \
|
||||
--exclude=/tests \
|
||||
--exclude=/translationfiles \
|
||||
--exclude=/tsconfig.json \
|
||||
--exclude=/vendor \
|
||||
--exclude=/webpack.* \
|
||||
$(project_dir)/ $(sign_dir)/$(app_name)
|
||||
tar -czf $(build_dir)/$(app_name)-$(version).tar.gz \
|
||||
-C $(sign_dir) $(app_name)
|
||||
|
|
Loading…
Reference in a new issue