Created
October 14, 2015 19:17
-
-
Save Luiz-Monad/2466dc1aca84a3a02357 to your computer and use it in GitHub Desktop.
powershell build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$packages = (git diff --name-only $env:TRAVIS_COMMIT_RANGE) | | |
? { $_ -like "conda/*" } | | |
% { $_ | split-path -leaf } | | |
group | % { $_.name } | |
write-host "Packages to be built: $packages" | |
foreach ( $pkg in $packages ) | |
{ | |
foreach ( $python in $env:PYTHON ) | |
{ | |
conda build "conda/$pkg" --python $python | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment