Skip to content

Commit 12ed35e

Browse files
committed
Add happy to hs-tools.
This tool fails to install via stack on travis because an existing happy is needed, so we just pre-compile it.
1 parent ba937a2 commit 12ed35e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ script:
1010
- mkdir -p ~/.local/bin
1111
- export PATH=$HOME/.local/bin:$PATH
1212
- travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
13-
- stack --no-terminal install hlint pandoc stylish-haskell
13+
- stack --no-terminal install hlint pandoc stylish-haskell happy
1414
- travis_retry curl -L https://github.com/rubik/stack-hpc-coveralls/releases/download/v0.0.4.0/shc-linux-x64-7.10.3.tar.bz2 | tar -xj -C $HOME/.local/bin
1515
- cp -a bin $HOME/.local/
1616
# TODO(iphydf): Figure out how to do this more generically. How were we supposed
1717
# to know that this file is needed and can be found here?
1818
- cp $HOME/.stack/snapshots/x86_64-linux/*/8.8.2/share/x86_64-linux-ghc-8.8.2/hlint-2.2.11/hlint.yaml $HOME/.local/bin/data/
1919
- (WORK=`pwd` && cd $HOME && tar zcf $WORK/hs-tools-$TRAVIS_TAG.tar.gz -C $HOME
2020
.local/bin
21+
.stack/snapshots/x86_64-linux/*/8.8.2/share/x86_64-linux-ghc-8.8.2/happy-1.19.12
2122
.stack/snapshots/x86_64-linux/*/8.8.2/share/x86_64-linux-ghc-8.8.2/hlint-2.2.11
2223
.stack/snapshots/x86_64-linux/*/8.8.2/share/x86_64-linux-ghc-8.8.2/pandoc-2.9.1.1)
2324

0 commit comments

Comments
 (0)