This version (master), is currently not being maintained much, although important fixes will be commited as necessary. All the interesting work is happening in either the 'provision' or 'drush-ext' branches. 'provision' is an intermediary step towards using aegir's backend provision, and do less work in shell scripting. 'drush-ext' is closer to the intended form of this project. Shell script free drush extension that relies on provision to do the heavy lifting, and moves configuration settings into a provision extension.
This project helps building a Drupal project that is based on the NodeStream profile. It will at some future point be replaced with drush and provision.
- git submodule add [email protected]:letharion/Drupal-build-scripts.git build
- ln -s build/build.sh build.sh
- ln -s build/install.sh install.sh
- git submodule init
- git submodule update
- ln -s build/build.sh build.sh
- ln -s build/install.sh install.sh
In your root directory, create a build.conf, which MUST have DOMAIN and TOPDOMAIN defined.
Each hook supports a pre and a post op.
- hook_OP_install
- hook_OP_profile_make
- hook_OP_nodestream_make
DOMAIN=nodeone
TOPDOMAIN=se
nodeone_post_nodestream_make() {
apply_patch "1463002-1-ctools--avoid_casting_notice_in_pm.patch" "web/profiles/nodestream/modules/ctools"
}
nodeone_post_install() {
run_cmd "drush cc all" "web/sites/default"
}