Skip to content

Commit

Permalink
- Migrate magento config into commithook-magento.xml file..
Browse files Browse the repository at this point in the history
  • Loading branch information
andkirby committed Oct 29, 2014
1 parent c1693e1 commit 8f6396c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 15 deletions.
28 changes: 28 additions & 0 deletions LibHooks/commithook-magento.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
<?xml version="1.0"?>
<config>
<!--Validators setup-->
<validators>
<FileFilter>
<filter>
<skip>
<!--<files>-->
<!--<file>app/code/core/Mage/Core/Helper/Js.php</file>-->
<!--</files>-->
<paths>
<path>lib/</path>
</paths>
</skip>
<protect>
<files>
<file>cron.php</file>
<file>cron.sh</file>
</files>
<paths>
<path>downloader/</path>
<path>lib/</path>
<path>app/code/core/</path>
<path>app/code/local/Mage/</path>
<path>app/design/install/</path>
</paths>
</protect>
</filter>
</FileFilter>
</validators>
<!--Hooks process setup-->
<hooks>
<pre-commit>
Expand Down
24 changes: 9 additions & 15 deletions LibHooks/commithook.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,20 @@
<eot>eot</eot>
<woff>woff</woff>
</extensions>
<files>
<!--<file>app/code/core/Mage/Core/Helper/Js.php</file>-->
</files>
<paths>
<path>lib/</path>
</paths>
<!--<paths>-->
<!--<path>libs/</path>-->
<!--</paths>-->
<!--<files>-->
<!--<file>index.php</file>-->
<!--</files>-->
</skip>
<protect>
<files>
<file>index.php</file>
<file>cron.php</file>
<file>cron.sh</file>
</files>
<paths>
<path>downloader/</path>
<path>lib/</path> <!--if you would add some new lib comment it temporary -->
<path>app/code/core/</path>
<path>app/code/local/Mage/</path>
<path>app/design/install/</path>
</paths>
<!--<paths>-->
<!--<path>libs/</path>-->
<!--</paths>-->
</protect>
</filter>
</FileFilter>
Expand Down

0 comments on commit 8f6396c

Please sign in to comment.