appveyor - use forfiles and cabal new-build.

new-install symlinks don't work on windows.
This commit is contained in:
John MacFarlane 2018-09-25 14:29:52 -07:00
parent 1dd9b9141a
commit c324d43d15

View file

@ -88,7 +88,8 @@ test_script:
cabal --version &&
mkdir -p "%CABAL_STORE%"/ghc-8.6.1/package.db &&
cabal --store-dir="%CABAL_STORE%" new-update &&
cabal --store-dir="%CABAL_STORE%" new-install -w %GHC% --symlink-bindir=. --allow-newer -flua_32bits -fembed_data_files . pandoc-citeproc
cabal --store-dir="%CABAL_STORE%" new-build -w %GHC% --allow-newer -flua_32bits -fembed_data_files . pandoc-citeproc
forfiles /P .\dist-newstyle /M pandoc*.exe /C "cmd /C cp @file .\windows\ "
)
after_test: