git.iko.soy/typeable/pandoc
on master help sign in
appveyor.yml: put whole for loop on one line.
057c754John MacFarlane
appveyor.yml+1−4
@@ -28,10 +28,7 @@ after_build:
28 .\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.html -S README -o README.html
28 .\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.html -S README -o README.html
29 .\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.rtf COPYING -t rtf -S -o COPYING.rtf
29 .\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.rtf COPYING -t rtf -S -o COPYING.rtf
30 copy COPYRIGHT COPYRIGHT.txt
30 copy COPYRIGHT COPYRIGHT.txt
31− for /f "tokens=2 delims= " %%a in ('.\.cabal-sandbox\bin\pandoc --version') do (
31+ for /f "tokens=2 delims= " %%a in ('.\.cabal-sandbox\bin\pandoc --version') do ( set "VERSION=%%a" && goto :next )
32− set "VERSION=%%a"
33− goto :next
34− )
35 :next
32 :next
36 if "%VERSION%" == "" (
33 if "%VERSION%" == "" (
37 echo Error: could not determine version number.
34 echo Error: could not determine version number.