Skip to content

Commit 8323d7b

Browse files
committed
Set TargetPath to avoid MSB8012 warning from Visual Studio
1 parent dad3022 commit 8323d7b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

appveyor.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ os: Visual Studio 2013
33
environment:
44
CTEST_OUTPUT_ON_FAILURE: 1
55
ruby_version: 22-x64
6-
TargetPath: sassc/bin/sassc
6+
DefaultTargetName: sassc.exe
7+
RelativePath: sassc\bin
78
matrix:
89
- Compiler: msvc
910
Config: Release
@@ -35,6 +36,8 @@ install:
3536

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

0 commit comments

Comments
 (0)