Replaced {deb,macos,windows}/stack.yaml with stack.pkg.yaml.
commit395f20a0484b3be14614169b74a8f5b9e063bb2b
authorJohn MacFarlane <jgm@berkeley.edu>
dateSun 12 Feb 2017, 21:41 (10 years ago)
parent2e5d076
deb/make_deb.sh+2−2
@@ -22,8 +22,8 @@ mkdir -p $DEST/bin
2222mkdir -p $DEST/share/man/man1
2323mkdir -p $DEST/share/doc/pandoc
2424
25−stack install --install-ghc --stack-yaml deb/stack.yaml --local-bin-path . hsb2hs
26−stack install --install-ghc --stack-yaml deb/stack.yaml --local-bin-path . pandoc pandoc-citeproc
25+stack install --install-ghc --stack-yaml stack.pkg.yaml --local-bin-path . hsb2hs
26+stack install --install-ghc --stack-yaml stack.pkg.yaml --local-bin-path . pandoc pandoc-citeproc
2727
2828make man/pandoc.1
2929# get pandoc-citeproc man page:
deb/stack.yamldeleted−21
@@ -1,21 +0,0 @@
1−flags:
2− pandoc:
3− trypandoc: false
4− https: true
5− embed_data_files: true
6− old-locale: false
7− network-uri: true
8− pandoc-citeproc:
9− bibutils: true
10− embed_data_files: true
11− unicode_collation: false
12− test_citeproc: false
13− debug: false
14−packages:
15−- '..'
16−- location:
17− git: https://github.com/jgm/pandoc-citeproc.git
18− commit: c53a27513318f1d23303ee27e46da9e7702c798e
19− extra-dep: true
20−extra-deps:
21−resolver: lts-8.0
macos/make_macos_package.sh+1−1
@@ -28,7 +28,7 @@ which cpphs || stack install cpphs
2828
2929echo Building pandoc...
3030stack clean
31−stack install --stack-yaml=$MACOS/stack.yaml --local-bin-path . pandoc pandoc-citeproc
31+stack install --stack-yaml=stack.pkg.yaml --local-bin-path . pandoc pandoc-citeproc
3232
3333echo Getting man pages...
3434make man/pandoc.1
macos/stack.yaml → stack.pkg.yamlrenamed+1−1
@@ -12,7 +12,7 @@ flags:
1212 test_citeproc: false
1313 debug: false
1414packages:
15−- '..'
15+- '.'
1616- location:
1717 git: https://github.com/jgm/pandoc-citeproc.git
1818 commit: 9de619a02f79544bec933e4366a0d2f92ae2fe13
windows/make-windows-installer.bat+1−1
@@ -1,5 +1,5 @@
11@echo off
2−stack install --test
2+stack install --test --stack-yaml ..\stack.pkg.yml
33if %errorlevel% neq 0 exit /b %errorlevel%
44for /f "delims=" %%a in ('stack path --local-bin-path') do @set BINPATH=%%a
55%BINPATH%\pandoc.exe -s --toc ..\MANUAL.txt -o MANUAL.html
windows/stack.yamldeleted−21
@@ -1,21 +0,0 @@
1−flags:
2− pandoc:
3− trypandoc: false
4− https: true
5− embed_data_files: true
6− old-locale: false
7− network-uri: true
8− pandoc-citeproc:
9− bibutils: true
10− embed_data_files: true
11− unicode_collation: false
12− test_citeproc: false
13− debug: false
14−packages:
15−- '..'
16−- location:
17− git: https://github.com/jgm/pandoc-citeproc.git
18− commit: c53a27513318f1d23303ee27e46da9e7702c798e
19− extra-dep: true
20−extra-deps: []
21−resolver: lts-8.0