diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-09-25 08:09:15 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-09-25 08:09:15 -0700 |
commit | c37fbd3a6159ef67e94ebe2252866f53edd51ab7 (patch) | |
tree | 99a10c8f2f3d3056e233b928829e741f35664901 | |
parent | b115deba2ad79566518ab919b5a0c9df8315ec53 (diff) | |
download | pandoc-c37fbd3a6159ef67e94ebe2252866f53edd51ab7.tar.gz |
More appveyor tweaks.
-rw-r--r-- | appveyor.yml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/appveyor.yml b/appveyor.yml index 607b8dfb6..d9ac0434d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -72,14 +72,15 @@ test_script: # The ugly echo "" hack is to avoid complaints about 0 being an invalid file # descriptor - if "%BUILD_TYPE%" == "stack" ( - stack --version - stack path - echo "" | stack clean + stack --version && + stack path && + echo "" | stack clean && echo "" | stack install --stack-yaml %STACK_YAML% %STACK_BUILD_OPTS% %STACK_FLAGS% pandoc pandoc-citeproc - ) else ( - cabal --version - cabal update - cabal new-build %CABAL_BUILD_OPTS% . pandoc-citeproc + ) + - if "%BUILD_TYPE%" == "cabal" ( + cabal --version && + cabal update && + cabal new-build %CABAL_BUILD_OPTS% . pandoc-citeproc && forfiles /P .\dist-newstyle /M pandoc*.exe /C "cmd /C cp @file .\windows\ " ) |