This file contains hidden or 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
<!-- | |
1. Download and add drush to your template folder or put it somewhere on your computer and symlink it - http://drupal.org/project/drush | |
2. Add the following task to your Ant build file after your deployment tasks | |
3. 'dir' is the path to your local deployment i.e. /Users/yourname/Sites/yourwebsite/public_html | |
4. 'executable' is the path to your drush command. Simply use drush in this attribute if you have symlinked it | |
--> | |
<exec dir="${path.deploy}" executable="${directory.build.tools}/drush/drush" failonerror="true" output="/dev/null"> | |
<arg line="cache-clear all" /> | |
</exec> |