Skip to content

Commit

Permalink
[appveyor] Set --target-dir to shorten path for MSBuild
Browse files Browse the repository at this point in the history
  • Loading branch information
antiagainst committed Jan 15, 2019
1 parent 020d4c3 commit 3d6fa5c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .appveyor.yml
Expand Up @@ -35,7 +35,11 @@ before_build:
- git submodule update --init

build_script:
- cargo build --verbose --target %target%
# Because that MSBUild does not support path longer than MAX_PATH
# (https://github.com/Microsoft/msbuild/issues/53),
# we need to reset the target diretory here to save a few characters
# in the path.
- cargo build --verbose --target %target% --target-dir C:/

test_script:
- cargo test --verbose --target %target%
- cargo test --verbose --target %target% --target-dir C:/

0 comments on commit 3d6fa5c

Please sign in to comment.