[commit: ghc] wip/fix-docs: circleci: Install sphinx (8a7f813)
git at git.haskell.org
git at git.haskell.org
Sat Aug 4 22:43:11 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/fix-docs
Link : http://ghc.haskell.org/trac/ghc/changeset/8a7f8136b1868a5f5dbb281bf395d4ca3de3f82c/ghc
>---------------------------------------------------------------
commit 8a7f8136b1868a5f5dbb281bf395d4ca3de3f82c
Author: Ben Gamari <ben at smart-cactus.org>
Date: Sat Aug 4 00:21:58 2018 -0400
circleci: Install sphinx
>---------------------------------------------------------------
8a7f8136b1868a5f5dbb281bf395d4ca3de3f82c
.circleci/prepare-system.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/.circleci/prepare-system.sh b/.circleci/prepare-system.sh
index c9320ed..488673e 100755
--- a/.circleci/prepare-system.sh
+++ b/.circleci/prepare-system.sh
@@ -42,6 +42,11 @@ case "$(uname)" in
fail "TARGET=$target not supported"
fi
else
+ if [[ -e yum ]]; then
+ yum install sphinx-build
+ else
+ sudo apt-get install -qy sphinx-doc
+ fi
cabal update
cabal install --reinstall hscolour
sudo ln -s /home/ghc/.cabal/bin/HsColour /usr/local/bin/HsColour || true
@@ -55,6 +60,7 @@ case "$(uname)" in
# does not work.
brew upgrade python
brew install ghc cabal-install ncurses gmp
+ pip3 install sphinx
cabal update
cabal install --reinstall alex happy haddock hscolour --index-state=$hackage_index_state
# put them on the $PATH, don't fail if already installed
More information about the ghc-commits
mailing list