mirror of
https://github.com/status-im/snorenotify.git
synced 2025-01-09 16:15:45 +00:00
finally fixed escaping
This commit is contained in:
parent
d3921715aa
commit
e304072dda
@ -9,6 +9,7 @@ build_script:
|
||||
|
||||
cache:
|
||||
- work\git -> appveyor.yml
|
||||
- work\install -> appveyor.yml
|
||||
|
||||
environment:
|
||||
matrix:
|
||||
|
@ -2,16 +2,16 @@
|
||||
#http://stackoverflow.com/questions/2124753/how-i-can-use-powershell-with-the-visual-studio-command-prompt
|
||||
function batCall([string] $path, [string] $arg)
|
||||
{
|
||||
Write-Host 'Calling "$path" "$arg"'
|
||||
cmd /c '"$path" "$arg" & set' |
|
||||
Write-Host "Calling `"$path`" `"$arg`""
|
||||
cmd /c "`"$path`" `"$arg`" & set" |
|
||||
foreach {
|
||||
if ($_ -match "=") {
|
||||
$v = $_.split("=")
|
||||
#Write-Host "ENV:\$($v[0])=$($v[1])"
|
||||
$v = $_.split("="); set-item -force -path "ENV:\$($v[0])" -value "$($v[1])"
|
||||
set-item -force -path "ENV:\$($v[0])" -value "$($v[1])"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$CMAKE_INSTALL_ROOT="$env:APPVEYOR_BUILD_FOLDER/work/install" -replace "\\", "/"
|
||||
|
||||
if ( $env:COMPILER -eq "MINGW" )
|
||||
@ -21,6 +21,8 @@ if ( $env:COMPILER -eq "MINGW" )
|
||||
$env:PATH=$env:PATH -replace "C:\\Program Files \(x86\)\\Git\\bin", ""
|
||||
$CMAKE_GENERATOR="MinGW Makefiles"
|
||||
$MAKE = "mingw32-make"
|
||||
|
||||
exit 0
|
||||
}
|
||||
elseif ( $env:COMPILER -eq "MSVC" )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user