Skip to content

Commit

Permalink
Removing composer munging.
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash committed Feb 28, 2017
1 parent 7a1b7da commit d135f55
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 187 deletions.
2 changes: 0 additions & 2 deletions bin/blt-console
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<?php

use Acquia\Blt\Console\Command\ConfigurePhantomJsCommand;
use Acquia\Blt\Console\Command\ComposerMungeCommand;
use Acquia\Blt\Console\Command\YamlMungeCommand;
use Acquia\Blt\Console\Command\UpdateCommand;
use Symfony\Component\Console\Application;
Expand All @@ -25,7 +24,6 @@ else {

$application = new Application();
$application->add(new ConfigurePhantomJsCommand());
$application->add(new ComposerMungeCommand());
$application->add(new YamlMungeCommand());
$application->add(new UpdateCommand());

Expand Down
14 changes: 0 additions & 14 deletions phing/tasks/blt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

<!-- Pull in initial template files. -->
<phingcall target="blt:rsync-template"/>
<phingcall target="blt:update-composer"/>

<!--Write project.machine_name to project.yml, using name of working directory as value.. -->
<exec dir="${repo.root}" command="result=${PWD##*/}; printf '%s\n' &quot;${PWD##*/}&quot;" logoutput="false" checkreturn="true" level="${blt.exec_level}" passthru="false" outputProperty="dirname"/>
Expand Down Expand Up @@ -84,19 +83,6 @@
<exec dir="${repo.root}" command="echo ${blt.version} > ${blt.config-files.schema-version}" checkreturn="true" logoutput="true" passthru="false" level="${blt.exec_level}"/>
</target>

<target name="blt:update-composer" description="Updates project composer.json with a subset of new key value pairs from upstream. This WILL overwrite existing values." hidden="true">
<echo level="verbose">Merging BLT's composer.json template with your project's composer.json.</echo>
<echo level="verbose">This MAY overwrite some existing values.</echo>
<exec dir="${repo.root}" command="${repo.root}/${bin.path}/blt-console composer:munge ${repo.root}/composer.json ${blt.root}/template/composer.json > ${repo.root}/composer.json.tmp" logoutput="true" checkreturn="true" level="${blt.exec_level}" returnProperty="composer.munge.return"/>
<if>
<equals arg1="${composer.munge.return}" arg2="0"/>
<then>
<!--@todo Find out why can't we just redirect output directly back to composer.json. -->
<exec dir="${repo.root}" command="mv ${repo.root}/composer.json.tmp ${repo.root}/composer.json" logoutput="true" checkreturn="true" level="${blt.exec_level}" passthru="true"/>
</then>
</if>
</target>

<target name="blt:update-yml" description="Updates project BLT .yml files with new key value pairs from upstream. This WILL NOT overwrite existing values." hidden="true">
<!--@todo Output different message if project.yml does not exist-->
<echo level="verbose">Merging BLT's project.yml template with your project's project.yml.</echo>
Expand Down
171 changes: 0 additions & 171 deletions src/Console/Command/ComposerMungeCommand.php

This file was deleted.

0 comments on commit d135f55

Please sign in to comment.