This repository was archived by the owner on Feb 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
7.x 2.x drush at require
Andy Truong edited this page Mar 17, 2014
·
2 revisions
With Drush (5.x+) and at_base.module, we can tell Drush to download our dependencies (libraries, Drupal themes, Drupal modules).
First, define the config file:
# File: @my_module/config/require.yml
projects:
pimple:
type: library
download:
type: git
url: https://github.com/fabpot/Pimple.git
revision: dc03a407f20cbd4eaf55472875ad47ee96d921ea
twig:
type: library
download:
type: git
url: https://github.com/fabpot/Twig.git
branch: v1.15.0
expression_language:
type: library
download:
type: git
url: https://github.com/symfony/expression-language.git
branch: v2.4.0
# Use this option if we would like keep git structure of library
options: { working-copy: TRUE }Then we can download them fastly:
drush at_require my_module
___ ___________ _ _
/ _ \_ _| ___ \ | | | |
/ /_\ \| | | |_/ / __ _ ___ ___ _ __ ___ ___ __| |_ _| | ___
| _ || | | ___ \/ _` / __|/ _ \ | '_ ` _ \ / _ \ / _` | | | | |/ _ \
| | | || | | |_/ / (_| \__ \ __/_| | | | | | (_) | (_| | |_| | | __/
\_| |_/\_/ \____/ \__,_|___/\___(_)_| |_| |_|\___/ \__,_|\__,_|_|\___|
- Caching
- Twig template
- twig Service
- twig_string Service
- Recipes
- Extends
- Easy Block
- Easy Routing
- Easy Breadcrumb
- Entity Template
- Drush Commands:
- Functions:
- Misc
- Status
- Tools for Development enviroment
- /devel/php improved
- /at/sql
- /at/twig
- Kint integration