mirror of
https://github.com/status-im/snorenotify.git
synced 2025-01-24 15:29:18 +00:00
fix batCall
This commit is contained in:
parent
9be97a51dc
commit
9a8e6f327a
@ -2,9 +2,11 @@
|
||||
#http://stackoverflow.com/questions/2124753/how-i-can-use-powershell-with-the-visual-studio-command-prompt
|
||||
function batCall([string] $path, [string] $arg)
|
||||
{
|
||||
cmd /c "$(path)&set" |
|
||||
Write-Host "Calling $path $arg"
|
||||
cmd /c "$path $arg & set" |
|
||||
foreach {
|
||||
if ($_ -match "=") {
|
||||
#Write-Host "ENV:\$($v[0])=$($v[1])"
|
||||
$v = $_.split("="); set-item -force -path "ENV:\$($v[0])" -value "$($v[1])"
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
Import-Module $env:APPVEYOR_BUILD_FOLDER\ci\ci.psm1
|
||||
Import-Module $env:APPVEYOR_BUILD_FOLDER\ci\ci.psm1 -Force
|
||||
|
||||
batCall "C:\Qt\5.5\msvc2013_64\bin\qtenv2.bat"
|
||||
batCall "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64
|
||||
|
Loading…
x
Reference in New Issue
Block a user