From cd1a81f9ffc2662e4cb2d37414cd8331a27da504 Mon Sep 17 00:00:00 2001 From: pacien Date: Sat, 4 Apr 2020 03:27:56 +0200 Subject: ci: include manual pages in compiled archive --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8b7284d..fb1547d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,6 +31,8 @@ jobs: - export PATH=$HOME/.local/bin:$PATH - travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' + - sudo apt-get update -qq + - sudo apt-get install -y pandoc install: - cd viewer @@ -50,4 +52,7 @@ jobs: - stack build --no-terminal - stack install --local-bin-path ../dist/ - cd .. + - pandoc --standalone --to man compiler/ldgallery.1.md --output dist/ldgallery.1 + - pandoc --standalone --to man viewer/ldgallery-viewer.7.md --output dist/ldgallery-viewer.7 + - cp changelog.md license.md dist/ - tar -cvzf ldgallery-linux-amd64.tar.gz dist -- cgit v1.2.3