Skip to content

Commit

Permalink
appveyor: Create html docs
Browse files Browse the repository at this point in the history
  • Loading branch information
k-takata committed May 24, 2017
1 parent 09108a3 commit 6b635e3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ environment:
MSYSTEM: MINGW64
- compiler: msvc_msys2
ARCH: x86
MSYS2_ARCH: x86
MSYS2_ARCH: i686
MSYS2_DIR: msys64
MSYSTEM: MINGW32
- compiler: mingw
Expand Down
9 changes: 9 additions & 0 deletions win32/appveyor.bat
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,20 @@ bash -lc "make check APPVEYOR=1"
goto :eof

:msvc_msys2_package
:: Build html docs
bash -lc "for i in {1..3}; do pacman --noconfirm -Su mingw-w64-%MSYS2_ARCH%-python3-sphinx && break || sleep 15; done"
bash -lc "cd docs; make html"
move docs\_build\html docs > nul
rd /s/q docs\_build

:: Get version
if "%APPVEYOR_REPO_TAG_NAME%"=="" (
for /f %%i in ('git rev-parse --short HEAD') do set ver=%%i
) else (
set ver=%APPVEYOR_REPO_TAG_NAME%
)

:: Create zip package
copy win32\mkstemp\COPYING.MinGW-w64-runtime.txt . > nul
7z a ctags-%ver%-%ARCH%.zip ctags.exe readtags.exe iconv.dll COPYING COPYING.MinGW-w64-runtime.txt docs README.md
7z a ctags-%ver%-%ARCH%.pdb.zip ctags.pdb readtags.pdb
Expand Down

0 comments on commit 6b635e3

Please sign in to comment.