Makefile extra

Component ID

1959286

Component name

Makefile extra

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

621

Component created

Component changed

Component body

This is a drush extension that can help keeping makefiles updated, which normally is a manual and time consuming process. With this extension you simply ask drush to do all the work.

Installation

Simply clone the repository into your .drush folder as with any other drush extension (or use drush to install it).

Usage

The extension comes with three new commands makefile-check, makefile-update and makefile-combine, where the first only checks the makefile for updates and write version suggestions on the screen. Where the other writes the updates into an output file (which can be the same file).

The last command process a makefile and it's includes, creating a single combined makefile.

~$ drush makefile-check <MAKEFILE>

~$ drush makefile-update <IN MAKEFILE> <OUT MAKEFILE>

~$ drush makefile-combine <IN MAKEFILE> <OUT MAKEFILE>

Options

--no-cache
The commands utilize cache this option by-passes the cache.
--exclude
This options takes a comma delimited list of projects that should not be updated in the make file.

Note: This extension will only work with the 5.x version of drush.