Commit 657e3cc4 authored by Jon Pugh's avatar Jon Pugh

Adding drush as a requirement, and use it to build platforms from make.

parent 4b9911e9
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "9fedee2bcebf91f9ab5c9865d6d9f0eb",
"content-hash": "efd511666395a98bd041e359ccea3574",
"packages": [
{
"name": "consolidation/annotated-command",
......@@ -652,6 +652,116 @@
],
"time": "2017-09-04T05:42:48+00:00"
},
{
"name": "drush/drush",
"version": "8.1.15",
"source": {
"type": "git",
"url": "https://github.com/drush-ops/drush.git",
"reference": "f78b619806a9bc7c3d167fa425e8757eb046bb87"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/drush-ops/drush/zipball/f78b619806a9bc7c3d167fa425e8757eb046bb87",
"reference": "f78b619806a9bc7c3d167fa425e8757eb046bb87",
"shasum": ""
},
"require": {
"consolidation/annotated-command": "~2",
"consolidation/output-formatters": "~3",
"pear/console_table": "~1.3.0",
"php": ">=5.4.5",
"phpdocumentor/reflection-docblock": "^2.0",
"psr/log": "~1.0",
"psy/psysh": "~0.6",
"symfony/console": "~2.7|^3",
"symfony/event-dispatcher": "~2.7|^3",
"symfony/finder": "~2.7|^3",
"symfony/var-dumper": "~2.7|^3",
"symfony/yaml": "~2.3|^3",
"webmozart/path-util": "~2"
},
"require-dev": {
"phpunit/phpunit": "4.*",
"symfony/console": "~2.7",
"symfony/event-dispatcher": "~2.7",
"symfony/finder": "~2.7",
"symfony/process": "2.7.*",
"symfony/var-dumper": "~2.7",
"symfony/yaml": "~2.3"
},
"suggest": {
"drush/config-extra": "Provides configuration workflow commands, such as config-merge.",
"ext-pcntl": "*"
},
"bin": [
"drush",
"drush.launcher",
"drush.php",
"drush.complete.sh"
],
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "8.0.x-dev"
}
},
"autoload": {
"psr-0": {
"Drush": "lib/",
"Consolidation": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0+"
],
"authors": [
{
"name": "Moshe Weitzman",
"email": "weitzman@tejasa.com"
},
{
"name": "Owen Barton",
"email": "drupal@owenbarton.com"
},
{
"name": "Mark Sonnabaum",
"email": "marksonnabaum@gmail.com"
},
{
"name": "Antoine Beaupré",
"email": "anarcat@koumbit.org"
},
{
"name": "Greg Anderson",
"email": "greg.1.anderson@greenknowe.org"
},
{
"name": "Jonathan Araña Cruz",
"email": "jonhattan@faita.net"
},
{
"name": "Jonathan Hedstrom",
"email": "jhedstrom@gmail.com"
},
{
"name": "Christopher Gervais",
"email": "chris@ergonlogic.com"
},
{
"name": "Dave Reid",
"email": "dave@davereid.net"
},
{
"name": "Damian Lee",
"email": "damiankloip@googlemail.com"
}
],
"description": "Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.",
"homepage": "http://www.drush.org",
"time": "2017-10-10T02:05:46+00:00"
},
{
"name": "grasmash/yaml-expander",
"version": "1.2.0",
......@@ -902,6 +1012,110 @@
],
"time": "2017-11-04T11:48:34+00:00"
},
{
"name": "pear/console_table",
"version": "v1.3.0",
"source": {
"type": "git",
"url": "https://github.com/pear/Console_Table.git",
"reference": "64100b9ee81852f4fa17823e55d0b385a544f976"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pear/Console_Table/zipball/64100b9ee81852f4fa17823e55d0b385a544f976",
"reference": "64100b9ee81852f4fa17823e55d0b385a544f976",
"shasum": ""
},
"require": {
"php": ">=5.2.0"
},
"suggest": {
"pear/Console_Color2": ">=0.1.2"
},
"type": "library",
"autoload": {
"classmap": [
"Table.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-2-Clause"
],
"authors": [
{
"name": "Jan Schneider",
"homepage": "http://pear.php.net/user/yunosh"
},
{
"name": "Tal Peer",
"homepage": "http://pear.php.net/user/tal"
},
{
"name": "Xavier Noguer",
"homepage": "http://pear.php.net/user/xnoguer"
},
{
"name": "Richard Heyes",
"homepage": "http://pear.php.net/user/richard"
}
],
"description": "Library that makes it easy to build console style tables.",
"homepage": "http://pear.php.net/package/Console_Table/",
"keywords": [
"console"
],
"time": "2016-01-21T16:14:31+00:00"
},
{
"name": "phpdocumentor/reflection-docblock",
"version": "2.0.5",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
"reference": "e6a969a640b00d8daa3c66518b0405fb41ae0c4b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/e6a969a640b00d8daa3c66518b0405fb41ae0c4b",
"reference": "e6a969a640b00d8daa3c66518b0405fb41ae0c4b",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
},
"suggest": {
"dflydev/markdown": "~1.0",
"erusev/parsedown": "~1.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
}
},
"autoload": {
"psr-0": {
"phpDocumentor": [
"src/"
]
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Mike van Riel",
"email": "mike.vanriel@naenius.com"
}
],
"time": "2016-01-25T08:17:30+00:00"
},
{
"name": "psr/container",
"version": "1.0.0",
......
......@@ -206,7 +206,9 @@ class PlatformContext extends ContextSubscriber implements ConfigurationInterfac
$tasks['platform.make'] = $this->getProvision()->newTask()
->start('Building platform from makefile...')
->execute(function () {
return $this->getProvision()->getTasks()->taskExec("drush make")
$drush = realpath(__DIR__ . '/../../bin/drush');
return $this->getProvision()->getTasks()->taskExec($drush)
->arg('make')
->arg($this->getProperty('makefile'))
->arg($this->getProperty('root'))
->silent(!$this->getProvision()->getOutput()->isVerbose())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment