Skip to content

Commit 97d9829

Browse files
author
David Ferlay
authored
Merge pull request #292 from skilld-labs/composer2
Use composer 2 as default
2 parents c5d9af9 + 6575b0b commit 97d9829

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ endif
7777
# Install newrelic PHP extension if NEW_RELIC_LICENSE_KEY defined
7878
make -s newrelic
7979
$(call php-0, kill -USR2 1)
80-
$(call php, composer global require -o --update-no-dev --no-suggest "hirak/prestissimo:^0.3")
8180

8281
## Install backend dependencies
8382
back:
8483
docker-compose up -d --remove-orphans --no-deps php # PHP container is required for composer
85-
$(call php, composer global require -o --update-no-dev --no-suggest "hirak/prestissimo:^0.3")
84+
# Set composer2 as default
85+
$(call php-0, ln -fs composer2 /usr/bin/composer)
8686
ifneq ($(strip $(ADD_PHP_EXT)),)
8787
# Install additional php extensions as this goal used in CI (todo stop doing it)
8888
$(call php-0, apk add --no-cache $(ADD_PHP_EXT))

0 commit comments

Comments
 (0)