From 18a290424c25053d2ac2a05e5a0b87a052d156b5 Mon Sep 17 00:00:00 2001 From: Oleg Grenrus Date: Sat, 17 Jun 2017 00:16:43 +0300 Subject: [PATCH] Support GHC-8.2 --- .gitignore | 2 ++ .travis.yml | 7 +++++-- svg-builder.cabal | 9 +++++++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 3505447..8e1ac1d 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,8 @@ examples/TextSize examples/Temp.hs dist +dist-newstyle +.ghc.environment* cabal-dev *.o *.hi diff --git a/.travis.yml b/.travis.yml index 85de9aa..a8bb6c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ -language: haskell +language: generic +sudo: required env: matrix: @@ -6,7 +7,9 @@ env: - HPVER=2014.2.0.0 CABALVER=1.18 - GHCVER=7.6.3 CABALVER=1.18 - GHCVER=7.8.4 CABALVER=1.18 - - GHCVER=7.10.2 CABALVER=1.22 + - GHCVER=7.10.3 CABALVER=1.22 + - GHCVER=8.0.2 CABALVER=1.24 + - GHCVER=8.2.1 CABALVER=2.0 - GHCVER=head CABALVER=head matrix: diff --git a/svg-builder.cabal b/svg-builder.cabal index a0d959a..d0f0b33 100644 --- a/svg-builder.cabal +++ b/svg-builder.cabal @@ -1,8 +1,9 @@ name: svg-builder version: 0.1.0.2 +x-revision: 1 synopsis: DSL for building SVG. description: Fast, easy to write SVG. -homepage: http://github.com/jeffreyrosenbluth/svg-builder.git +homepage: https://github.com/diagrams/svg-builder.git license: BSD3 license-file: LICENSE author: Jeffrey Rosenbluth @@ -13,6 +14,10 @@ build-type: Simple extra-source-files: README.md cabal-version: >=1.10 +source-repository head + type: git + location: https://github.com/diagrams/svg-builder.git + library ghc-options: -Wall -fsimpl-tick-factor=200 exposed-modules: Graphics.Svg, @@ -20,7 +25,7 @@ library Graphics.Svg.Path, Graphics.Svg.Elements, Graphics.Svg.Attributes - build-depends: base >= 4.5 && < 4.10, + build-depends: base >= 4.5 && < 4.11, blaze-builder >= 0.4 && < 0.5, bytestring >= 0.10 && < 0.11, hashable >= 1.1 && < 1.3,