Skip to content

Commit

Permalink
Silence sdkmanager on Windows
Browse files Browse the repository at this point in the history
sdkmanager is already silenced on the other OSes, as it prints thousands
of lines of progress bars in the logfiles.

Change-Id: I4a2aa422a83cfe5fc6a3a7ba7be69e1e9c01acc0
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
  • Loading branch information
jimis committed Feb 15, 2020
1 parent 47b74fb commit 27e42b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coin/provisioning/common/windows/android.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Out-File -FilePath C:\Utils\Android\licenses\android-sdk-license -Encoding utf8

cd $toolsFolder\bin\
$sdkmanager_args += "platforms;$sdkApiLevel", "platform-tools", "build-tools;$sdkBuildToolsVersion"
$command = 'for($i=0;$i -lt 6;$i++) { $response += "y`n"}; $response | .\sdkmanager.bat @sdkmanager_args'
$command = 'for($i=0;$i -lt 6;$i++) { $response += "y`n"}; $response | .\sdkmanager.bat @sdkmanager_args | Out-Null'
Invoke-Expression $command
$command = 'for($i=0;$i -lt 6;$i++) { $response += "y`n"}; $response | .\sdkmanager.bat --licenses'
iex $command
Expand Down

0 comments on commit 27e42b7

Please sign in to comment.