git.iko.soy/typeable/pandoc
on master help sign in
More appveyor improvements.
commit3fb99b078f5f838657be8e8b1f518dfd6f104177 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 26 Sep 2018, 23:37 (8 years ago) parent4461134
1 file changed+7−4
appveyor.yml+7−4
appveyor.yml+7−4
@@ -5,6 +5,7 @@ environment:
55 WIXBIN: "c:\\Program Files (x86)\\WiX Toolset v3.11\\bin"
66 CABAL_STORE: "C:\\cs"
77 CABAL_PACKAGE_DB: "%CABAL_STORE%\\ghc-%GHC_MINOR_VERSION%\\package.db"
8+ CABAL: 'cabal --store-dir="%CABAL_STORE%"'
89 # Override the temp directory to avoid sed escaping issues
910 # See https://github.com/haskell/cabal/issues/5386
1011 TMP: "c:\\tmp"
@@ -63,10 +64,12 @@ test_script:
6364 # Note: we manually create cabal store, because of a cabal bug:
6465 # see https://github.com/haskell/cabal/issues/5516
6566 - if not exist "%CABAL_PACKAGE_DB%" ( mkdir "%CABAL_PACKAGE_DB%" )
66− - cabal --version
67− - cabal --store-dir="%CABAL_STORE%" new-update
68− - cabal --store-dir="%CABAL_STORE%" new-build -w %GHC% --enable-tests %CABAL_OPTS% --ghc-options="%GHC_OPTS%" . pandoc-citeproc
69− - cabal --store-dir="%CABAL_STORE%" new-test
67+ - %CABAL% --version
68+ - %CABAL% new-update
69+ - %CABAL% new-clean
70+ - %CABAL% new-configure -w %GHC% --enable-tests %CABAL_OPTS% --ghc-options="%GHC_OPTS%" . pandoc-citeproc
71+ - %CABAL% new-build . pandoc-citeproc
72+ - %CABAL% new-test . pandoc-citeproc
7073 - forfiles /P .\dist-newstyle /M pandoc*.exe /S /C "cmd /C copy @path C:\pandoc\windows"
7174
7275after_test: