git.iko.soy/typeable/pandoc
on master help sign in
More appveyor tweaks.
c37fbd3John MacFarlane
appveyor.yml+8−7
@@ -72,14 +72,15 @@ test_script:
72 # The ugly echo "" hack is to avoid complaints about 0 being an invalid file
72 # The ugly echo "" hack is to avoid complaints about 0 being an invalid file
73 # descriptor
73 # descriptor
74 - if "%BUILD_TYPE%" == "stack" (
74 - if "%BUILD_TYPE%" == "stack" (
75− stack --version
75+ stack --version &&
76− stack path
76+ stack path &&
77− echo "" | stack clean
77+ echo "" | stack clean &&
78 echo "" | stack install --stack-yaml %STACK_YAML% %STACK_BUILD_OPTS% %STACK_FLAGS% pandoc pandoc-citeproc
78 echo "" | stack install --stack-yaml %STACK_YAML% %STACK_BUILD_OPTS% %STACK_FLAGS% pandoc pandoc-citeproc
79− ) else (
79+ )
80+ - if "%BUILD_TYPE%" == "cabal" (
80− cabal --version
81+ cabal --version &&
81− cabal update
82+ cabal update &&
82− cabal new-build %CABAL_BUILD_OPTS% . pandoc-citeproc
83+ cabal new-build %CABAL_BUILD_OPTS% . pandoc-citeproc &&
83 forfiles /P .\dist-newstyle /M pandoc*.exe /C "cmd /C cp @file .\windows\ "
84 forfiles /P .\dist-newstyle /M pandoc*.exe /C "cmd /C cp @file .\windows\ "
84 )
85 )
85
86