Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/groupfolders.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-03-16 18:17:49 +0300
committerJulius Härtl <jus@bitgrid.net>2020-03-16 18:17:49 +0300
commit911f34dfcc691e549d4c78ae813f84fbe3ad4431 (patch)
tree0da1d6bc406a5c482106d10c17201c29339fa0a2
parente3b0817ec9472132c8ed4c4b3dc418a6b63b9931 (diff)
Exclude files that are not needed from build
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r--Makefile34
1 files changed, 23 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 2b995c43..3041f5ca 100644
--- a/Makefile
+++ b/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)