mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
1e1786b18a
commit
8c9e9b469f
1 changed files with 12 additions and 10 deletions
|
@ -25,15 +25,18 @@ build:
|
|||
haskell.org/cabal: ^3
|
||||
crates.io/semverator: ^0
|
||||
working-directory: pandoc-cli
|
||||
script: |-
|
||||
if semverator satisfies '^2' '{{ version }}'; then
|
||||
script:
|
||||
# pandoc 2.x - no pandoc-cli subdirectory
|
||||
cd ..
|
||||
fi
|
||||
- run: cd ..
|
||||
if: <3
|
||||
|
||||
cabal update
|
||||
mkdir -p {{prefix}}/bin
|
||||
cabal install $ARGS
|
||||
- cabal update
|
||||
- mkdir -p {{prefix}}/bin
|
||||
# digest versions above 0.0.1.4 have RPATH issues for us.
|
||||
- run: |
|
||||
sed -i.bak -e's/text$/text, digest <0.0.1.4/' pandoc-cli.cabal
|
||||
rm pandoc-cli.cabal.bak
|
||||
- cabal v2-install $ARGS
|
||||
env:
|
||||
ARGS:
|
||||
- --install-method=copy
|
||||
|
@ -52,6 +55,5 @@ test:
|
|||
fixture: |
|
||||
# tea
|
||||
brew2 for you
|
||||
script:
|
||||
pandoc -f markdown -t html5 $FIXTURE
|
||||
script: pandoc -f markdown -t html5 $FIXTURE
|
||||
#TODO check output is HTML!
|
||||
|
|
Loading…
Reference in a new issue