Skip to content

Commit

Permalink
Use composer v1. Composer 2 seem to fail some package installs
Browse files Browse the repository at this point in the history
  • Loading branch information
jinjie committed Mar 22, 2021
1 parent c921bf8 commit 0abedbb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
export PATH := bin:$(PATH)

staging:
ifeq (, $(wildcard composer-stable.phar))
curl -O https://getcomposer.org/composer-stable.phar
chmod a+x composer-stable.phar
ifeq (, $(wildcard composer.phar))
curl -O https://getcomposer.org/download/1.10.20/composer.phar
chmod a+x composer.phar
endif

git fetch
git checkout develop
git pull
yarn install
./composer-stable.phar install
./composer.phar install
./node_modules/gulp/bin/gulp.js
rm -rf silverstripe-cache/
mkdir silverstripe-cache/
Expand Down

0 comments on commit 0abedbb

Please sign in to comment.