Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc99c5f2

Browse files
committed
Fix conda build log stderr->stdout
Recent conda-build update added a new log output to log:info.Powershell interprets this as an ERROR since its on STDERR.Prevent accidental auto-update & display INFO before building.Would have made debugging this psudo-error easier.
1 parente7c94df commitc99c5f2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎ci/appveyor_build_recipe.ps1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,14 @@ if ($env:APPVEYOR_PULL_REQUEST_NUMBER) {
1919
Write-Host"Starting conda install"-ForegroundColor"Green"
2020
conda config--set always_yes True
2121
conda config--set changeps1 False
22+
conda config--set auto_update_conda False
2223
conda install conda-build jinja2 anaconda-client--quiet
24+
conda info
2325

26+
# why `2>&1 | %{ "$_" }`? Redirect STDERR to STDOUT
27+
# see: http://stackoverflow.com/a/20950421/5208670
2428
Write-Host"Starting conda build recipe"-ForegroundColor"Green"
25-
conda build conda.recipe--dirty--quiet
29+
conda build conda.recipe--quiet2>&1|%{"$_" }
2630

2731
$CONDA_PKG=(conda build conda.recipe--output)
2832
Copy-Item$CONDA_PKG .\dist\

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp