aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpacien2020-04-04 03:27:56 +0200
committerNotkea2020-04-04 04:35:44 +0200
commitcd1a81f9ffc2662e4cb2d37414cd8331a27da504 (patch)
treeb74c227d410c95a1e40eb78ddee81049ab8fcd10
parentc26ab69997d1d552fda72b8fd88d5910fc91b779 (diff)
downloadldgallery-cd1a81f9ffc2662e4cb2d37414cd8331a27da504.tar.gz
ci: include manual pages in compiled archive
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 8b7284d..fb1547d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,6 +31,8 @@ jobs:
31 - export PATH=$HOME/.local/bin:$PATH 31 - export PATH=$HOME/.local/bin:$PATH
32 - travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz 32 - travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz
33 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' 33 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
34 - sudo apt-get update -qq
35 - sudo apt-get install -y pandoc
34 36
35 install: 37 install:
36 - cd viewer 38 - cd viewer
@@ -50,4 +52,7 @@ jobs:
50 - stack build --no-terminal 52 - stack build --no-terminal
51 - stack install --local-bin-path ../dist/ 53 - stack install --local-bin-path ../dist/
52 - cd .. 54 - cd ..
55 - pandoc --standalone --to man compiler/ldgallery.1.md --output dist/ldgallery.1
56 - pandoc --standalone --to man viewer/ldgallery-viewer.7.md --output dist/ldgallery-viewer.7
57 - cp changelog.md license.md dist/
53 - tar -cvzf ldgallery-linux-amd64.tar.gz dist 58 - tar -cvzf ldgallery-linux-amd64.tar.gz dist