summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2020-09-24 11:32:55 -0100
committerMaxence Lange <maxence@artificial-owl.com>2020-09-24 11:32:55 -0100
commit6d9afed84221d5485330f62eff6be1bebee404f3 (patch)
treee045542cb98a62a9f17efa095694e1ed5ce733a0 /Makefile
parent888d9931413f5ddbb540ca8d9ca4833cf74ddbde (diff)
compat nc20
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 6622d868..c83a940f 100644
--- a/Makefile
+++ b/Makefile
@@ -64,9 +64,9 @@ clean:
clean-dev:
rm -rf node_modules
-# composer packages
-composer:
- composer install --prefer-dist
+build-composer:
+ composer install --prefer-dist --working-dir composer
+ composer update --prefer-dist --working-dir composer
# releasing to github
release: appstore github-release github-upload
@@ -88,7 +88,7 @@ github-upload:
--file $(build_dir)/$(app_name)-$(version).tar.gz
# creating .tar.gz + signature
-appstore: dev-setup lint build-js-production composer
+appstore: dev-setup lint build-js-production build-composer
mkdir -p $(sign_dir)
rsync -a \
--exclude=/build \
@@ -101,8 +101,8 @@ appstore: dev-setup lint build-js-production composer
--exclude=/.babelrc.js \
--exclude=/.drone.yml \
--exclude=/.eslintrc.js \
- --exclude=/composer.json \
- --exclude=/composer.lock \
+ --exclude=/composer/composer.json \
+ --exclude=/composer/composer.lock \
--exclude=/src \
--exclude=/node_modules \
--exclude=/webpack.*.js \