To start, copy the build.properties.dist
file to build.properties
and configure the values to your specific environment.
Running ant
with no targets will ensure that Drush is available, run drush make
, and run drush site install
. This gets you from 0 to full Demo Framework install in less than 10 minutes, running one command. Pretty cool.
Running ant drush-make
will effectively rebuild your docroot using drush make
.
If you want to uninstall the the site (a.k.a. drop the database) then run ant uninstall
. If you want to re-install the database without re-running drush make, execute ant -Ddrush.nomake=1 install
.
This is based on: https://github.com/cpliakas/drupal-ant#usage