定制 craychee/rootcanal 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

craychee/rootcanal

最新稳定版本:v1.0.0

Composer 安装命令:

composer require craychee/rootcanal

包简介

Workflow manager to build a Drupal7 root with composer

README 文档

README

Build Status

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).

##Usage

The drupal:canal command specifications:

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.

You can override the default name of the destination path with:

bin/rootcanal --destination=docroot

You can override the default source path of your custom directories and files with:

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:

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.

##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.

统计信息

  • 总下载量: 6.02k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-06-17