Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Fixes #778: Make it more flexible to change and acsf repository #781

Merged
merged 1 commit into from
Dec 12, 2016
Merged
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
5 changes: 4 additions & 1 deletion phing/tasks/acsf.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<project name="acsf" default="acsf:init">

<!-- Set the acsf repo/branch-->
<property name="acsf.repo_branch" value="drupal/acsf:^8" override="false"/>
<target name="acsf:init" description="Initializes ACSF support for project.">
<echo>Adding acsf module as a dependency.</echo>
<exec dir="${repo.root}" command="composer require drupal/acsf:^8" logoutput="true" checkreturn="true" passthru="true" level="${blt.exec_level}"/>
<echo>Using ${acsf.repo_branch} use -Dacsf.repo_branch= to change.</echo>
<exec dir="${repo.root}" command="composer require ${acsf.repo_branch}" logoutput="true" checkreturn="true" passthru="true" level="${blt.exec_level}"/>
<echo>Executing initialization command for acsf module.</echo>
<drush command="acsf-init">
<option name="include">"${docroot}/modules/contrib/acsf/acsf_init"</option>
Expand Down