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

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2016-12-18 19:15:40 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2016-12-18 19:15:40 +0300
commit930e30d806c903e427fccdbff1b323fc26e659d2 (patch)
tree0973e7894ad3efc1da8defdb9d28901907fb1c9a /Makefile
parentce206899dff119382713922551801ec59ea35f62 (diff)
fix rsync excludes to include 'build' directory of dependencies
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 515b9fbfa..c785c00da 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
# Makefile for building the project
app_name=mail
-project_dir=$(CURDIR)/../$(app_name)
+project_dir=$(CURDIR)
build_dir=$(CURDIR)/build/artifacts
appstore_dir=$(build_dir)/appstore
source_dir=$(build_dir)/source
@@ -55,7 +55,7 @@ appstore: clean install-deps optimize-js
rsync -a \
--exclude=bower.json \
--exclude=.bowerrc \
- --exclude=build \
+ --exclude=/build \
--exclude=composer.json \
--exclude=composer.lock \
--exclude=composer.phar \
@@ -77,7 +77,7 @@ appstore: clean install-deps optimize-js
--exclude=.lgtm \
--exclude=Makefile \
--exclude=nbproject \
- --exclude=node_modules \
+ --exclude=/node_modules \
--exclude=package.json \
--exclude=phpunit*xml \
--exclude=screenshots \
@@ -105,7 +105,7 @@ appstore: clean install-deps optimize-js
--exclude=vendor/ezyang/htmlpurifier/VERSION \
--exclude=vendor/ezyang/htmlpurifier/WHATSNEW \
--exclude=vendor/ezyang/htmlpurifier/WYSIWYG \
- $(project_dir) $(sign_dir)
+ $(project_dir)/ $(sign_dir)/$(app_name)
@if [ -f $(cert_dir)/$(app_name).key ]; then \
echo "Signing app files…"; \
php ../../occ integrity:sign-app \