mirror of
https://github.com/byteverse/colonnade.git
synced 2024-09-11 06:45:41 +03:00
make siphon and colonnade build with GHC 7.10.3
This commit is contained in:
parent
fa682cbfdc
commit
d7494a102f
@ -17,7 +17,7 @@ library
|
|||||||
exposed-modules:
|
exposed-modules:
|
||||||
Text.Blaze.Colonnade
|
Text.Blaze.Colonnade
|
||||||
build-depends:
|
build-depends:
|
||||||
base >= 4.9 && < 5
|
base >= 4.8 && < 5
|
||||||
, colonnade >= 1.1 && < 1.3
|
, colonnade >= 1.1 && < 1.3
|
||||||
, blaze-markup >= 0.7 && < 0.9
|
, blaze-markup >= 0.7 && < 0.9
|
||||||
, blaze-html >= 0.8 && < 0.10
|
, blaze-html >= 0.8 && < 0.10
|
||||||
|
7
build
7
build
@ -3,13 +3,14 @@ set -e
|
|||||||
|
|
||||||
# To use this script on Ubuntu, you will need to first run the following:
|
# To use this script on Ubuntu, you will need to first run the following:
|
||||||
#
|
#
|
||||||
# sudo apt install ghc-8.0.2 ghc-8.2.2 ghc-8.4.3
|
# sudo apt install ghc-7.4.2 ghc-7.6.3 ghc-7.8.4 ghc-7.10.3 ghc-8.0.2 ghc-8.2.2 ghc-8.4.3 ghc-8.6.1
|
||||||
|
|
||||||
declare -a ghcs=("8.0.2" "8.2.2" "8.4.3")
|
declare -a ghcs=("7.10.3" "8.0.2" "8.2.2" "8.4.4" "8.6.5")
|
||||||
|
|
||||||
## now loop through the above array
|
## now loop through the above array
|
||||||
for g in "${ghcs[@]}"
|
for g in "${ghcs[@]}"
|
||||||
do
|
do
|
||||||
cabal new-build --project-file "projects/cabal-$g.project" --builddir "dist-$g" -w "/opt/ghc/bin/ghc-$g" ./colonnade
|
cabal new-build --builddir "dist-$g" -w "/opt/ghc/bin/ghc-$g" colonnade
|
||||||
|
cabal new-build --builddir "dist-$g" -w "/opt/ghc/bin/ghc-$g" siphon
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
packages: ./colonnade
|
packages: ./colonnade
|
||||||
./blaze-colonnade
|
./blaze-colonnade
|
||||||
./lucid-colonnade
|
./lucid-colonnade
|
||||||
./yesod-colonnade
|
|
||||||
./siphon
|
./siphon
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: colonnade
|
name: colonnade
|
||||||
version: 1.2.0.1
|
version: 1.2.0.2
|
||||||
synopsis: Generic types and functions for columnar encoding and decoding
|
synopsis: Generic types and functions for columnar encoding and decoding
|
||||||
description:
|
description:
|
||||||
The `colonnade` package provides a way to talk about
|
The `colonnade` package provides a way to talk about
|
||||||
@ -35,12 +35,13 @@ library
|
|||||||
Colonnade
|
Colonnade
|
||||||
Colonnade.Encode
|
Colonnade.Encode
|
||||||
build-depends:
|
build-depends:
|
||||||
base >= 4.9 && < 5
|
base >= 4.8 && < 5
|
||||||
, contravariant >= 1.2 && < 1.6
|
, contravariant >= 1.2 && < 1.6
|
||||||
, vector >= 0.10 && < 0.13
|
, vector >= 0.10 && < 0.13
|
||||||
, text >= 1.0 && < 1.3
|
, text >= 1.0 && < 1.3
|
||||||
, bytestring >= 0.10 && < 0.11
|
, bytestring >= 0.10 && < 0.11
|
||||||
, profunctors >= 5.0 && < 5.4
|
, profunctors >= 5.0 && < 5.4
|
||||||
|
, semigroups >= 0.18.2 && < 0.20
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ library
|
|||||||
exposed-modules:
|
exposed-modules:
|
||||||
Lucid.Colonnade
|
Lucid.Colonnade
|
||||||
build-depends:
|
build-depends:
|
||||||
base >= 4.9 && < 5
|
base >= 4.8 && < 5
|
||||||
, colonnade >= 1.1.1 && < 1.3
|
, colonnade >= 1.1.1 && < 1.3
|
||||||
, lucid >= 2.9 && < 3.0
|
, lucid >= 2.9 && < 3.0
|
||||||
, text >= 1.2 && < 1.3
|
, text >= 1.2 && < 1.3
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: siphon
|
name: siphon
|
||||||
version: 0.8.1
|
version: 0.8.1.1
|
||||||
synopsis: Encode and decode CSV files
|
synopsis: Encode and decode CSV files
|
||||||
description: Please see README.md
|
description: Please see README.md
|
||||||
homepage: https://github.com/andrewthad/colonnade#readme
|
homepage: https://github.com/andrewthad/colonnade#readme
|
||||||
@ -18,7 +18,7 @@ library
|
|||||||
Siphon
|
Siphon
|
||||||
Siphon.Types
|
Siphon.Types
|
||||||
build-depends:
|
build-depends:
|
||||||
base >= 4.9 && < 5
|
base >= 4.8 && < 5
|
||||||
, colonnade >= 1.2 && < 1.3
|
, colonnade >= 1.2 && < 1.3
|
||||||
, text >= 1.0 && < 1.3
|
, text >= 1.0 && < 1.3
|
||||||
, bytestring
|
, bytestring
|
||||||
@ -26,6 +26,7 @@ library
|
|||||||
, streaming >= 0.1.4 && < 0.3
|
, streaming >= 0.1.4 && < 0.3
|
||||||
, attoparsec
|
, attoparsec
|
||||||
, transformers >= 0.5 && < 0.6
|
, transformers >= 0.5 && < 0.6
|
||||||
|
, semigroups >= 0.18.2 && < 0.20
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
|
||||||
test-suite doctest
|
test-suite doctest
|
||||||
|
@ -17,7 +17,7 @@ library
|
|||||||
exposed-modules:
|
exposed-modules:
|
||||||
Yesod.Colonnade
|
Yesod.Colonnade
|
||||||
build-depends:
|
build-depends:
|
||||||
base >= 4.9.1.0 && < 4.12
|
base >= 4.9.1 && < 4.13
|
||||||
, colonnade >= 1.2 && < 1.3
|
, colonnade >= 1.2 && < 1.3
|
||||||
, yesod-core >= 1.6 && < 1.7
|
, yesod-core >= 1.6 && < 1.7
|
||||||
, conduit >= 1.3 && < 1.4
|
, conduit >= 1.3 && < 1.4
|
||||||
|
Loading…
Reference in New Issue
Block a user