Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 764b66d

Browse files
authored
Tweaking output to remove more passthru. (#941)
1 parent 1ca8066 commit 764b66d

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

phing/tasks/blt.xml

+5-1
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,18 @@
2323
<!-- Remove default git remote -->
2424
<exec dir="${repo.root}" command="${composer.bin}/yaml-cli update:value ${blt.config-files.project} git.remotes.0 ''" logoutput="true" checkreturn="false" level="${blt.exec_level}" passthru="true"/>
2525

26-
<echo>Updating composer dependencies, this make take a while...</echo>
26+
<echo>Installing new Composer dependencies provided by BLT. This make take a while...</echo>
2727
<exec dir="${repo.root}" command="composer update --no-interaction" logoutput="true" checkreturn="true" level="${blt.exec_level}" passthru="true"/>
2828
<copy file="${repo.root}/docroot/profiles/contrib/lightning/lightning.extend.yml" tofile="${repo.root}/docroot/sites/default/lightning.extend.yml"/>
2929

3030
<phingcall target="create-project:init-repo"/>
3131

3232
<!-- Display BLT art. -->
3333
<exec dir="${repo.root}" command="cat ${blt.root}/scripts/blt/ascii-art.txt" logoutput="true" passthru="true" checkreturn="false"/>
34+
35+
<echo level="warning">Your new BLT-based project has been created in ${repo.root}.</echo>
36+
<echo>Please continue by following the "Creating a new project with BLT" instructions:</echo>
37+
<echo>http://blt.readthedocs.io/en/8.x/readme/creating-new-project/</echo>
3438
</target>
3539

3640
<!-- This target is necessary because Composer will delete .git directory directly after the `composer create-project` -->

phing/tasks/setup.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210

211211
<!-- Rebuild caches in case service definitions have changed. -->
212212
<!-- @see https://www.drupal.org/node/2826466 -->
213-
<drush command="cr" alias="${drush.alias}"/>
213+
<drush command="cr" alias="${drush.alias}" passthru="false"/>
214214

215215
<!-- Execute db updates. -->
216216
<!-- This must happen before features are imported or configuration is imported. -->

tests/phpunit/BltProject/GitTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ protected function assertCommitMessageValidity($is_valid, $commit_message, $mess
9292

9393
// "2>&1" redirects standard error output to standard output.
9494
$command = "mkdir -p {$this->projectDirectory}/tmp && echo '$commit_message' > {$this->projectDirectory}/tmp/blt_commit_msg && {$this->projectDirectory}/.git/hooks/commit-msg {$this->projectDirectory}/tmp/blt_commit_msg 2>&1";
95-
print "Executing \"$command\" \n";
9695

9796
exec($command, $output, $return);
9897
$this->assertNotSame($is_valid, (bool) $return, $message);

0 commit comments

Comments
 (0)