Windows builds: removed -S option from pandoc invocations.

This commit is contained in:
John MacFarlane 2017-01-30 11:49:25 +01:00
parent 7018003811
commit cb79e9c28d
2 changed files with 4 additions and 4 deletions

View file

@ -37,8 +37,8 @@ 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 --toc ..\MANUAL.txt -o MANUAL.html
- .\pandoc.exe -s -S ..\COPYING.md -o COPYING.rtf
- .\pandoc.exe -s --toc ..\MANUAL.txt -o MANUAL.html
- .\pandoc.exe -s ..\COPYING.md -o COPYING.rtf
- copy ..\COPYRIGHT COPYRIGHT.txt
- |
set VERSION=

View file

@ -2,9 +2,9 @@
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 --toc ..\MANUAL.txt -o MANUAL.html
%BINPATH%\pandoc.exe -s --toc ..\MANUAL.txt -o MANUAL.html
if %errorlevel% neq 0 exit /b %errorlevel%
%BINPATH%\pandoc.exe -s ..\COPYING.md -t rtf -S -o COPYING.rtf
%BINPATH%\pandoc.exe -s ..\COPYING.md -t rtf -o COPYING.rtf
if %errorlevel% neq 0 exit /b %errorlevel%
copy ..\COPYRIGHT COPYRIGHT.txt
for /f "tokens=1-2 delims= " %%a in ('%BINPATH%\pandoc.exe --version') do (