Skip to content

Commit

Permalink
Set TargetPath to avoid MSB8012 warning from Visual Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
saper committed Apr 18, 2016
1 parent dad3022 commit 8323d7b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ os: Visual Studio 2013
environment:
CTEST_OUTPUT_ON_FAILURE: 1
ruby_version: 22-x64
TargetPath: sassc/bin/sassc
DefaultTargetName: sassc.exe
RelativePath: sassc\bin
matrix:
- Compiler: msvc
Config: Release
Expand Down Expand Up @@ -35,6 +36,8 @@ install:

build_script:
- ps: |
$env:OutDir = Join-Path $pwd.Path $env:RelativePath
$env:TargetPath = Join-Path $env:OutDir $env:DefaultTargetName
if ($env:Compiler -eq "mingw") {
mingw32-make -j4 sassc
} else {
Expand Down Expand Up @@ -70,7 +73,6 @@ test_script:
}
Write-Host "Explicitly testing the case when cwd has Cyrillic characters: " -nonewline
# See comments in gh-1774 for details.
$env:TargetPath = Join-Path $pwd.Path $env:TargetPath
cd sass-spec/spec/libsass/Sáss-UŢF8/
&$env:TargetPath ./input.scss 2>&1>$null
if(-not($?)) {
Expand Down

0 comments on commit 8323d7b

Please sign in to comment.