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
| appveyor DownloadFile https://github.com/nunit/nunit/releases/download/3.0.0/NUnit-3.0.0.zip | |
| 7z x -oC:\Tools\NUnit3 NUnit-3.0.0.zip > NUL | |
| set PATH=C:\Tools\NUnit3\bin;%PATH% |
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
| #$AndroidToolPath = "${env:ProgramFiles(x86)}\Android\android-sdk\tools\android" | |
| $AndroidToolPath = "$env:localappdata\Android\android-sdk\tools\android" | |
| Function Get-AndroidSDKs() { | |
| $output = & $AndroidToolPath list sdk --all | |
| $sdks = $output |% { | |
| if ($_ -match '(?<index>\d+)- (?<sdk>.+), revision (?<revision>[\d\.]+)') { | |
| $sdk = New-Object PSObject | |
| Add-Member -InputObject $sdk -MemberType NoteProperty -Name Index -Value $Matches.index | |
| Add-Member -InputObject $sdk -MemberType NoteProperty -Name Name -Value $Matches.sdk |