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

Moving git-hooks out of template. #304

Merged
merged 1 commit into from
Aug 16, 2016
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions phing/tasks/setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,12 @@
<delete dir="${repo.root}/.git/hooks" quiet="true" failonerror="false"/>
<delete file="${repo.root}/.git/hooks" quiet="true" failonerror="false"/>
<echo>Symlinking ${repo.root}/scripts/git-hooks to ${repo.root}/.git/hooks.</echo>
<exec dir="${repo.root}/.git" command="ln -snv ../scripts/git-hooks hooks" logoutput="true"/>
<exec dir="${repo.root}/.git" command="ln -snv ../vendor/acquia/blt/scripts/git-hooks hooks" logoutput="true"/>

<!-- Grant execution permissions. -->
<echo>Making git hooks executable.</echo>
<chmod mode="0755">
<fileset dir="${repo.root}/scripts/git-hooks">
<fileset dir="${blt.root}/scripts/git-hooks">
<exclude name="**/*.sample" />
<exclude name="**/README.md" />
</fileset>
Expand Down