mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35: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
|
haskell.org/cabal: ^3
|
||||||
crates.io/semverator: ^0
|
crates.io/semverator: ^0
|
||||||
working-directory: pandoc-cli
|
working-directory: pandoc-cli
|
||||||
script: |-
|
script:
|
||||||
if semverator satisfies '^2' '{{ version }}'; then
|
# pandoc 2.x - no pandoc-cli subdirectory
|
||||||
# pandoc 2.x - no pandoc-cli subdirectory
|
- run: cd ..
|
||||||
cd ..
|
if: <3
|
||||||
fi
|
|
||||||
|
|
||||||
cabal update
|
- cabal update
|
||||||
mkdir -p {{prefix}}/bin
|
- mkdir -p {{prefix}}/bin
|
||||||
cabal install $ARGS
|
# 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:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
- --install-method=copy
|
- --install-method=copy
|
||||||
|
@ -52,6 +55,5 @@ test:
|
||||||
fixture: |
|
fixture: |
|
||||||
# tea
|
# tea
|
||||||
brew2 for you
|
brew2 for you
|
||||||
script:
|
script: pandoc -f markdown -t html5 $FIXTURE
|
||||||
pandoc -f markdown -t html5 $FIXTURE
|
|
||||||
#TODO check output is HTML!
|
#TODO check output is HTML!
|
||||||
|
|
Loading…
Reference in a new issue