Skip to content

lslinnet/Drupal-build-scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Install with:

Add to a new repository.

  • 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

Cloning a project that uses this.

  • git submodule init
  • git submodule update
  • ln -s build/build.sh build.sh
  • ln -s build/install.sh install.sh

Configuration

In your root directory, create a build.conf, which MUST have DOMAIN and TOPDOMAIN defined.

Hooks

Each hook supports a pre and a post op.

  • hook_OP_install
  • hook_OP_profile_make
  • hook_OP_nodestream_make

Example build.conf:

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"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%