cabal.project - use source repository stanzas.

This commit is contained in:
John MacFarlane 2018-09-25 17:48:33 -07:00
parent 438fb9c7cb
commit b3ada2f11b
2 changed files with 11 additions and 3 deletions

View file

@ -87,8 +87,6 @@ test_script:
- if "%BUILD_TYPE%" == "cabal" (
cabal --version &&
mkdir -p "%CABAL_STORE%"/ghc-8.6.1/package.db &&
git clone https://github.com/vincenthz/hs-memory vender/hs-memory &&
git clone https://github.com/jgm/pandoc-citeproc vendor/pandoc-citeproc &&
cabal --store-dir="%CABAL_STORE%" new-update &&
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\ "

View file

@ -1 +1,11 @@
packages: pandoc.cabal vendor/*/*.cabal
packages: pandoc.cabal
source-repository-package
type: git
location: https://github.com/jgm/pandoc-citeproc.git
tag: f7654ae2128f374c0e88fd30bcd3138c50eeb84a
source-repository-package
type: git
location: https://github.com/vincenthz/hs-memory
tag: 7cb4a2c2ce4b0b142eb041a3a319a7ddec80d045