Skip to content

Commit

Permalink
Making target hooks more verbose. (#687)
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash authored Nov 17, 2016
1 parent d0c5d69 commit d40e532
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion phing/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<available file="${target-hooks.${hook-name}.dir}" type="dir" property="dirExists" />
<then>
<echo>Executing command in ${target-hooks.${hook-name}.dir}:</echo>
<exec dir="${target-hooks.${hook-name}.dir}" command="${target-hooks.${hook-name}.command}" logoutput="true" checkreturn="true" level="${blt.exec_level}" passthru="true" />
<exec dir="${target-hooks.${hook-name}.dir}" command="${target-hooks.${hook-name}.command}" logoutput="true" checkreturn="true" level="info" passthru="true" />
</then>
<else>
<fail>The directory ${target-hooks.${hook-name}.dir} does not exist. Will not run command for ${hook-name}.</fail>
Expand Down
4 changes: 0 additions & 4 deletions template/blt/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,11 @@ target-hooks:
command: echo 'No frontend-build configured.'
# Executed after deployment artifact is created.
post-deploy-build:
# E.g., ${docroot}/sites/all/themes/custom/mytheme.
dir: ${docroot}
# E.g., `npm run build`.
command: echo 'No post-deploy build configured.'
# Executed after setup:build is run.
post-setup-build:
# E.g., ${docroot}/sites/all/themes/custom/mytheme.
dir: ${docroot}
# E.g., `npm run build`.
command: echo 'No post-setup build configured.'

# Configuration management options, such as core CM or features.
Expand Down

0 comments on commit d40e532

Please sign in to comment.