Skip to content

Commit

Permalink
Fix broken build (really)
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlia committed Sep 20, 2017
1 parent ded68c3 commit caee748
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ before_install:
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
install:
- stack --no-terminal --install-ghc test --only-dependencies
- stack --no-terminal --install-ghc test --only-dependencies --flag checkmate:static
script:
- |
[[ "$TRAVIS_TAG" = "" || \
"$(stack query locals checkmate version)" == "'$TRAVIS_TAG'" ]]
- '[[ "$TRAVIS_TAG" = "" ]] || ! grep -i "to be released" CHANGELOG.md'
- stack --no-terminal test --haddock --no-haddock-deps
- stack --no-terminal test --haddock --no-haddock-deps --flag checkmate:static
- |
if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then
git diff "$TRAVIS_COMMIT_RANGE" | stack exec -- checkmate github \
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Checkmate changelog
===================

Version 0.1.3
-------------

Released on September 20, 2017.

- Fixed a broken build of `checkmate` binary on the download page.


Version 0.1.2
-------------

Expand Down
14 changes: 7 additions & 7 deletions package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: checkmate
version: '0.1.2'
version: '0.1.3'
synopsis: Generate checklists relevant to a given patch
category: Development
author: Hong Minhee
Expand Down Expand Up @@ -49,18 +49,18 @@ executables:
- -threaded
- -rtsopts
- -with-rtsopts=-N
else:
ghc-options:
- -fwarn-incomplete-uni-patterns
- -threaded
- -rtsopts
- -with-rtsopts=-N
# Static link
- -static
- -optl-static
- -optl-pthread
- -optc-Os
- -fPIC
else:
ghc-options:
- -fwarn-incomplete-uni-patterns
- -threaded
- -rtsopts
- -with-rtsopts=-N
tests:
spec:
main: Spec.hs
Expand Down

0 comments on commit caee748

Please sign in to comment.