Merge pull request #149810 from pennae/ninja-progress

ninja: pipe ninja output through cat in hooks
This commit is contained in:
Janne Heß 2021-12-09 12:35:15 +01:00 committed by GitHub
commit 5f136ae633
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ ninjaBuildPhase() {
) )
echoCmd 'build flags' "${flagsArray[@]}" echoCmd 'build flags' "${flagsArray[@]}"
ninja "${flagsArray[@]}" ninja "${flagsArray[@]}" | cat
runHook postBuild runHook postBuild
} }
@ -33,7 +33,7 @@ ninjaInstallPhase() {
) )
echoCmd 'install flags' "${flagsArray[@]}" echoCmd 'install flags' "${flagsArray[@]}"
ninja "${flagsArray[@]}" ninja "${flagsArray[@]}" | cat
runHook postInstall runHook postInstall
} }
@ -67,7 +67,7 @@ ninjaCheckPhase() {
) )
echoCmd 'check flags' "${flagsArray[@]}" echoCmd 'check flags' "${flagsArray[@]}"
ninja "${flagsArray[@]}" ninja "${flagsArray[@]}" | cat
fi fi
runHook postCheck runHook postCheck