2017 © Pedro Peláez
 

library rootcanal

Workflow manager to build a Drupal7 root with composer

image

craychee/rootcanal

Workflow manager to build a Drupal7 root with composer

  • Monday, October 19, 2015
  • by craychee
  • Repository
  • 1 Watchers
  • 1 Stars
  • 5,839 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 4 Forks
  • 3 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Drupal RootCanal

Build Status, (*1)

This library canals a composer vendor directory and a project's custom files and directories into a Drupal(7) webroot. The webroot is assembled either by symlinking custom directories and contrib modules into the Drupal root (recommended for development) or copying all files into the webroot and removing specified files and directories (recommended for production)., (*2)

Usage

The drupal:canal command specifications:, (*3)

bin/rootcanal

Will run generate a drupal root directory inside a www directory using your composer installation and custom files and directories that are in your project's root., (*4)

You can override the default name of the destination path with:, (*5)

bin/rootcanal --destination=docroot

You can override the default source path of your custom directories and files with:, (*6)

bin/rootcanal --source=my_custom_dir

By default, modules, themes, and custom directories will be symlinked into a Drupal root. You can instead copy all files and directories with:, (*7)

bin/rootcanal --prod

Libraries

Currently, this solution does not elegantly accommodate libraries. You can see an example of how to work around this here. The next release, currently in dev, will resolve this by allowing for configuration, such as libraries, to be passed in with a yml config file., (*8)

Credits

This library is a reworking of drupal/tangler to accommodate the abstraction of configuration, the ability to generate a production artifact, and to make it more testable. All glory belongs to winmillwill., (*9)

The Versions

19/10 2015

dev-develop

dev-develop

Workflow manager to build a Drupal7 root with composer

  Sources   Download

The Requires

 

The Development Requires

15/09 2015

dev-master

9999999-dev

Workflow manager to build a Drupal7 root with composer

  Sources   Download

The Requires

 

The Development Requires

04/09 2015

v1.0.0

1.0.0.0

Workflow manager to build a Drupal7 root with composer

  Sources   Download

The Requires

 

The Development Requires

18/06 2015

v0.1.1

0.1.1.0

Workflow manager to build a Drupal7 root with composer

  Sources   Download

The Requires

 

The Development Requires

17/06 2015

v0.1.0

0.1.0.0

Workflow manager to build a Drupal7 root with composer

  Sources   Download

The Requires

 

The Development Requires