Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set TargetPath to avoid MSB8012 warning from Visual Studio #2013

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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