Skip to content

Commit

Permalink
Merge pull request #1511 from nextcloud/fix/make-composer-in-release
Browse files Browse the repository at this point in the history
fix(Makefile): evaluate composer prerequisits during build
  • Loading branch information
max-nextcloud authored Sep 26, 2024
2 parents 9f5b289 + 9cc23e1 commit 091d20e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ all: setup-dev lint build test
setup-dev: composer-install node-modules

# Install build tools
composer:
ifeq (, $(wildcard $(BUILD_TOOLS_DIR)/composer.phar))
composer: $(BUILD_TOOLS_DIR)/composer.phar

$(BUILD_TOOLS_DIR)/composer.phar:
mkdir -p $(BUILD_TOOLS_DIR)
cd $(BUILD_TOOLS_DIR) && curl -sS https://getcomposer.org/installer | php
endif

$(BUILD_TOOLS_DIR)/info.xsd:
mkdir -p $(BUILD_TOOLS_DIR)
Expand Down

0 comments on commit 091d20e

Please sign in to comment.