[#6] Upgrade to GHC-8.6.5 (#7)

Resolves #6
This commit is contained in:
Veronika Romashkina 2019-05-17 22:32:51 +08:00 committed by Dmitrii Kovanikov
parent 4187ef247c
commit c34da13930
4 changed files with 23 additions and 49 deletions

View File

@ -16,9 +16,9 @@ matrix:
include: include:
- ghc: 8.2.2 - ghc: 8.2.2
- ghc: 8.4.4 - ghc: 8.4.4
- ghc: 8.6.3 - ghc: 8.6.5
- ghc: 8.6.3 - ghc: 8.6.5
env: STACK_YAML="$TRAVIS_BUILD_DIR/stack.yaml" env: STACK_YAML="$TRAVIS_BUILD_DIR/stack.yaml"
install: install:
@ -33,6 +33,8 @@ install:
fi fi
script: script:
# HLint check
- curl -sSL https://raw.github.com/ndmitchell/neil/master/misc/travis.sh | sh -s -- hlint .
- | - |
if [ -z "$STACK_YAML" ]; then if [ -z "$STACK_YAML" ]; then
cabal new-test cabal new-test
@ -40,8 +42,5 @@ script:
stack build --system-ghc --test --bench --no-run-benchmarks --no-terminal --ghc-options=-Werror stack build --system-ghc --test --bench --no-run-benchmarks --no-terminal --ghc-options=-Werror
fi fi
# HLint check
- curl -sSL https://raw.github.com/ndmitchell/neil/master/misc/travis.sh | sh -s -- hlint .
notifications: notifications:
email: false email: false

View File

@ -1,7 +1,7 @@
# shellmet # shellmet
[![Build status](https://secure.travis-ci.org/kowainik/shellmet.svg)](https://travis-ci.org/kowainik/shellmet) [![Build status](https://img.shields.io/travis/kowainik/shellmet.svg?logo=travis)](https://travis-ci.org/kowainik/shellmet)
[![Hackage](https://img.shields.io/hackage/v/shellmet.svg)](https://hackage.haskell.org/package/shellmet) [![Hackage](https://img.shields.io/hackage/v/shellmet.svg?logo=haskell)](https://hackage.haskell.org/package/shellmet)
[![MPL-2.0 license](https://img.shields.io/badge/license-MPL--2.0-blue.svg)](LICENSE) [![MPL-2.0 license](https://img.shields.io/badge/license-MPL--2.0-blue.svg)](LICENSE)
[![Stackage Lts](http://stackage.org/package/shellmet/badge/lts)](http://stackage.org/lts/package/shellmet) [![Stackage Lts](http://stackage.org/package/shellmet/badge/lts)](http://stackage.org/lts/package/shellmet)
[![Stackage Nightly](http://stackage.org/package/shellmet/badge/nightly)](http://stackage.org/nightly/package/shellmet) [![Stackage Nightly](http://stackage.org/package/shellmet/badge/nightly)](http://stackage.org/nightly/package/shellmet)

View File

@ -1,4 +1,4 @@
cabal-version: 2.0 cabal-version: 2.4
name: shellmet name: shellmet
version: 0.0.1 version: 0.0.1
synopsis: Out of the shell solution for scripting in Haskell synopsis: Out of the shell solution for scripting in Haskell
@ -7,8 +7,8 @@ homepage: https://github.com/kowainik/shellmet
bug-reports: https://github.com/kowainik/shellmet/issues bug-reports: https://github.com/kowainik/shellmet/issues
license: MPL-2.0 license: MPL-2.0
license-file: LICENSE license-file: LICENSE
author: Kowainik author: Dmitrii Kovanikov
maintainer: xrom.xkov@gmail.com maintainer: Kowainik <xrom.xkov@gmail.com>
copyright: 2019 Kowainik copyright: 2019 Kowainik
category: Shell, Command Line category: Shell, Command Line
build-type: Simple build-type: Simple
@ -16,19 +16,14 @@ extra-doc-files: README.md
, CHANGELOG.md , CHANGELOG.md
tested-with: GHC == 8.2.2 tested-with: GHC == 8.2.2
GHC == 8.4.4 GHC == 8.4.4
GHC == 8.6.3 GHC == 8.6.5
source-repository head source-repository head
type: git type: git
location: https://github.com/kowainik/shellmet.git location: https://github.com/kowainik/shellmet.git
library common common-options
hs-source-dirs: src
exposed-modules: Shellmet
build-depends: base >= 4.10.1.0 && < 4.13 build-depends: base >= 4.10.1.0 && < 4.13
, process ^>= 1.6.3
, text ^>= 1.2.3
ghc-options: -Wall ghc-options: -Wall
-Wincomplete-uni-patterns -Wincomplete-uni-patterns
@ -53,6 +48,14 @@ library
TypeApplications TypeApplications
ViewPatterns ViewPatterns
library
import: common-options
hs-source-dirs: src
exposed-modules: Shellmet
build-depends: process ^>= 1.6.3
, text ^>= 1.2.3
executable readme executable readme
main-is: README.lhs main-is: README.lhs
build-depends: base build-depends: base
@ -64,36 +67,11 @@ executable readme
default-language: Haskell2010 default-language: Haskell2010
test-suite shellmet-test test-suite shellmet-test
import: common-options
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
hs-source-dirs: test hs-source-dirs: test
main-is: Spec.hs main-is: Spec.hs
build-depends: base >= 4.10.1.0 && < 4.13 build-depends: shellmet
, shellmet
ghc-options: -threaded -rtsopts -with-rtsopts=-N
ghc-options: -Wall
-threaded
-rtsopts
-with-rtsopts=-N
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wcompat
-Widentities
-Wredundant-constraints
-fhide-source-paths
default-language: Haskell2010
default-extensions: ConstraintKinds
DeriveGeneric
GeneralizedNewtypeDeriving
InstanceSigs
KindSignatures
LambdaCase
OverloadedStrings
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
ViewPatterns

View File

@ -1,4 +1 @@
resolver: lts-13.0 resolver: lts-13.21
ghc-options:
"$locals": -fhide-source-paths