Skip to content

Commit

Permalink
Make MAX_PATH errors more rare on AppVeyor
Browse files Browse the repository at this point in the history
this creates an alias to the `cwd` on the drive letter `X:` and makes everything relative to that. This means you gain `length(cwd)-2` of "free" space towards `MAX_PATH`..

Should make the error a bit rarer.
  • Loading branch information
Mistuke authored Mar 23, 2019
1 parent a6c5fed commit 78a8459
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ before_test:

test_script:
- chcp 65001
- subst X: /D
- subst X: .
- pushd X:
- cabal --store-dir=%STORE_DIR% new-configure --builddir=d
- cabal --store-dir=%STORE_DIR% new-build --builddir=d
- cabal --store-dir=%STORE_DIR% new-test --builddir=d
Expand Down

0 comments on commit 78a8459

Please sign in to comment.