Replaced {deb,macos,windows}/stack.yaml with stack.pkg.yaml.
This commit is contained in:
parent
2e5d076af7
commit
395f20a048
6 changed files with 5 additions and 47 deletions
|
@ -22,8 +22,8 @@ mkdir -p $DEST/bin
|
|||
mkdir -p $DEST/share/man/man1
|
||||
mkdir -p $DEST/share/doc/pandoc
|
||||
|
||||
stack install --install-ghc --stack-yaml deb/stack.yaml --local-bin-path . hsb2hs
|
||||
stack install --install-ghc --stack-yaml deb/stack.yaml --local-bin-path . pandoc pandoc-citeproc
|
||||
stack install --install-ghc --stack-yaml stack.pkg.yaml --local-bin-path . hsb2hs
|
||||
stack install --install-ghc --stack-yaml stack.pkg.yaml --local-bin-path . pandoc pandoc-citeproc
|
||||
|
||||
make man/pandoc.1
|
||||
# get pandoc-citeproc man page:
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
flags:
|
||||
pandoc:
|
||||
trypandoc: false
|
||||
https: true
|
||||
embed_data_files: true
|
||||
old-locale: false
|
||||
network-uri: true
|
||||
pandoc-citeproc:
|
||||
bibutils: true
|
||||
embed_data_files: true
|
||||
unicode_collation: false
|
||||
test_citeproc: false
|
||||
debug: false
|
||||
packages:
|
||||
- '..'
|
||||
- location:
|
||||
git: https://github.com/jgm/pandoc-citeproc.git
|
||||
commit: c53a27513318f1d23303ee27e46da9e7702c798e
|
||||
extra-dep: true
|
||||
extra-deps:
|
||||
resolver: lts-8.0
|
|
@ -28,7 +28,7 @@ which cpphs || stack install cpphs
|
|||
|
||||
echo Building pandoc...
|
||||
stack clean
|
||||
stack install --stack-yaml=$MACOS/stack.yaml --local-bin-path . pandoc pandoc-citeproc
|
||||
stack install --stack-yaml=stack.pkg.yaml --local-bin-path . pandoc pandoc-citeproc
|
||||
|
||||
echo Getting man pages...
|
||||
make man/pandoc.1
|
||||
|
|
|
@ -12,7 +12,7 @@ flags:
|
|||
test_citeproc: false
|
||||
debug: false
|
||||
packages:
|
||||
- '..'
|
||||
- '.'
|
||||
- location:
|
||||
git: https://github.com/jgm/pandoc-citeproc.git
|
||||
commit: 9de619a02f79544bec933e4366a0d2f92ae2fe13
|
|
@ -1,5 +1,5 @@
|
|||
@echo off
|
||||
stack install --test
|
||||
stack install --test --stack-yaml ..\stack.pkg.yml
|
||||
if %errorlevel% neq 0 exit /b %errorlevel%
|
||||
for /f "delims=" %%a in ('stack path --local-bin-path') do @set BINPATH=%%a
|
||||
%BINPATH%\pandoc.exe -s --toc ..\MANUAL.txt -o MANUAL.html
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
flags:
|
||||
pandoc:
|
||||
trypandoc: false
|
||||
https: true
|
||||
embed_data_files: true
|
||||
old-locale: false
|
||||
network-uri: true
|
||||
pandoc-citeproc:
|
||||
bibutils: true
|
||||
embed_data_files: true
|
||||
unicode_collation: false
|
||||
test_citeproc: false
|
||||
debug: false
|
||||
packages:
|
||||
- '..'
|
||||
- location:
|
||||
git: https://github.com/jgm/pandoc-citeproc.git
|
||||
commit: c53a27513318f1d23303ee27e46da9e7702c798e
|
||||
extra-dep: true
|
||||
extra-deps: []
|
||||
resolver: lts-8.0
|
Loading…
Add table
Reference in a new issue