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

Renaming acsf.repo_branch to acsf.package. #789

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

<!-- Set the acsf repo/branch-->
<property name="acsf.repo_branch" value="drupal/acsf:^8" override="false"/>
<property name="acsf.package" value="drupal/acsf:^8" override="false"/>
<target name="acsf:init" description="Initializes ACSF support for project.">
<echo>Adding acsf module as a dependency.</echo>
<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>In future, you may use pass a custom value for acsf.package to override default version. E.g., blt acsf:init -Dacsf.package='drupal/acsf:8.1.x-dev'</echo>
<exec dir="${repo.root}" command="composer require ${acsf.package}" logoutput="true" checkreturn="true" passthru="true" level="${blt.exec_level}"/>
<!-- Run the acsf init commands. -->
<phingcall target="acsf:init:drush"/>
</target>
Expand Down