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