mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 01:36:45 +00:00
Include table of contents in README.html in Windows package.
This commit is contained in:
+1
-1
@@ -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%
|
||||
|
||||
Reference in New Issue
Block a user