-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
58 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Extending / Overriding BLT | ||
|
||
To add or override a Phing target, you may create a custom build file. You must specify the location of your custom build file using the `import` key to your project.yml file. | ||
|
||
## Adding a custom target | ||
|
||
<project name="custom" default="build"> | ||
<!-- Add custom targets. --> | ||
</project> | ||
|
||
## Overriding an existing target | ||
|
||
To override an existing target, just give it the same name as the default target provided by BLT. E.g., | ||
|
||
<project name="custom" default="build"> | ||
<patternset id="files.frontend"> | ||
<include name="**/*.js"/> | ||
<!-- Ignore custom bootstrap_sass directory. --> | ||
<exclude name="**/bootstrap_sass/**/*"/> | ||
</patternset> | ||
</project> | ||
|
||
## Overriding a variable value: | ||
|
||
You can override the value of any Phing variable used by BLT by either: | ||
|
||
1. Adding the variable to your project.yml file: | ||
|
||
behat.tags: @mytags | ||
|
||
2. Specifying the variable value in your `blt` command using [Phing](https://www.phing.info/docs/stable/hlhtml/index.html#d5e792) argument syntax `-D[key]=[value]`, e.g., | ||
|
||
blt tests:behat -Dbehat.tags='@mytags' | ||
3. Using a custom build properties file rather than project.yml: | ||
|
||
blt tests:behat -propertyfile mycustomfile.yml -propertyfileoverride | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters