Skip to content

Commit

Permalink
Allowing custom import.
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash committed Aug 7, 2016
1 parent 4989b2c commit d13c7f4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

* System requirements
* [Creating a new project with BLT](#creating-new)
* [Adding BLT to and existing project](#existing-project)
* [Adding BLT to an existing project](#existing-project)
* [Updating to the latest version of BLT](#updating)
* [Updating from a non-composer-managed version](#update-non-composered)
* [Updating a composer-managed version](#update-composered)
Expand Down
12 changes: 11 additions & 1 deletion phing/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,17 @@
<!-- Contains Drupal VM tasks. -->
<import file="${phing.dir}/tasks/vm.xml"/>

<!--@todo Import custom phing files, if they exist.-->
<!-- Allow custom file to be imported. -->
<if>
<isset property="import" />
<then>
<echo>Importing custom Phing file ${import}.</echo>
<import file="${import}"/>
</then>
<else>
<echo>No custom Phing file specified.</echo>
</else>
</if>

<target name="list" hidden="true">
<exec dir="${blt.root}" command="${repo.root}/vendor/bin/phing -f ${phing.dir}/build.xml -q -l" passthru="true"/>
Expand Down
1 change: 0 additions & 1 deletion phing/tasks/properties.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@

<echo>Executing commands against multisite "${multisite.name}"</echo>


<!-- Default drush alias. -->
<property name="drush.default_alias" value="self" override="false" logoutput="false"/>
<property name="drush.alias" value="${drush.default_alias}" override="false" logoutput="false"/>
Expand Down
2 changes: 1 addition & 1 deletion template/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ target-hooks:
command: npm run install-libraries

# Define any custom Phing files that you'd like to import. E.g., ${repo.root}/blt/phing/build.xml
imports: []
import: ~

# Hosting environment flags.
# Examples: acsf (Acquia Cloud Site Factory), ac (Acquia Cloud)
Expand Down

0 comments on commit d13c7f4

Please sign in to comment.