Include table of contents in README.html in Windows package.
This commit is contained in:
parent
38c97320ef
commit
7ded9d4af0
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ after_test:
|
|||
# .\ in the stack commandline seems to be .\windows\ (where the stack-appveyor.yaml is)
|
||||
- cd windows
|
||||
- 7z a "pandoc.zip" pandoc.exe
|
||||
- .\pandoc.exe -s -S ..\README -o README.html
|
||||
- .\pandoc.exe -s -S --toc ..\README -o README.html
|
||||
- .\pandoc.exe -s -S ..\COPYING -o COPYING.rtf
|
||||
- copy ..\COPYRIGHT COPYRIGHT.txt
|
||||
- |
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
stack install --test
|
||||
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 -S ..\README -o README.html
|
||||
%BINPATH%\pandoc.exe -s -S --toc ..\README -o README.html
|
||||
if %errorlevel% neq 0 exit /b %errorlevel%
|
||||
%BINPATH%\pandoc.exe -s ..\COPYING -t rtf -S -o COPYING.rtf
|
||||
if %errorlevel% neq 0 exit /b %errorlevel%
|
||||
|
|
Loading…
Add table
Reference in a new issue