Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Building a Drupal site root
The Aquifer CLI includes a
build tool, which uses the
drupal.make file to construct a Drupal site root in a working directory.
This command constructs a Drupal site root in the build directory that is set in
By default, Aquifer utilizes drush make lock files to ensure that everyone on your team is building with the same dependencies and versions. After you run
aquifer build for the first time, you will notice that a
drupal.make.lock file is also generated in your project root. This file will contain fully resolved versions of the contrib projects defined in the
drupal.make file and will be the make file that is used for subsequent builds.
aquifer build provides a couple of options to assist you when developing using the lock file:
aquifer build --makewill build off of the
drupal.makefile even if a
drupal.make.lockfile already exists. The existing
drupal.make.lockfile is not modified when using this option. This can be useful for testing module updates or dependency changes on your local environment while ensuring your lock file won't be modified and perhaps accidentally committed.
aquifer build --refresh-lockwill build off of the
drupal.makefile and generate an updated
drupal.make.lockfile. Use this when you have tested changes made to your
drupal.makefile and want the lock file to reflect those changes.
Note: You must be using drush version 7 for lock file support to work. If you are using a lesser version and are unable to update drush for some reason or just plain don't like any of this lock file business, you can turn off this behavior by setting
false in the