Use -O2 for windows, macos binary packages.
This commit is contained in:
parent
4a98b86a78
commit
5087b05df4
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ stack setup
|
|||
|
||||
echo Building pandoc...
|
||||
stack clean
|
||||
stack install --stack-yaml=stack.pkg.yaml --local-bin-path $DEST/bin/ pandoc pandoc-citeproc
|
||||
stack install --ghc-options="-O2" --stack-yaml=stack.pkg.yaml --local-bin-path $DEST/bin/ pandoc pandoc-citeproc
|
||||
|
||||
strip $DEST/bin/pandoc
|
||||
strip $DEST/bin/pandoc-citeproc
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@echo off
|
||||
stack install --test --stack-yaml=..\stack.pkg.yml
|
||||
stack install --test --ghc-options="-O2" --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
|
||||
|
|
Loading…
Add table
Reference in a new issue