Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer install should fail on bad patches. #185

Merged
merged 1 commit into from
Jun 21, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion template/build/core/phing/tasks/deploy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<include name="composer.lock"/>
</fileset>
</copy>
<exec dir="${deploy.dir}" command="composer install --no-dev --prefer-dist --no-interaction" passthru="true" logoutput="true" checkreturn="true"/>
<exec dir="${deploy.dir}" command="export COMPOSER_EXIT_ON_PATCH_FAILURE=1; composer install --no-dev --prefer-dist --no-interaction" passthru="true" logoutput="true" checkreturn="true"/>
</target>

<target name="deploy:profile:make" description="Build a subsidiary makefile shipped with profile.">
Expand Down
2 changes: 1 addition & 1 deletion template/build/core/phing/tasks/setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
</target>

<target name="setup:composer:install" description="Installs project dependencies, including drupal core and contrib.">
<exec dir="${repo.root}" command="composer install" logoutput="true" passthru="true"/>
<exec dir="${repo.root}" command="export COMPOSER_EXIT_ON_PATCH_FAILURE=1; composer install --ansi" logoutput="true" passthru="true" checkreturn="true"/>
</target>

<target name="setup:drupal:settings" description="Create local settings files using default settings files.">
Expand Down