Actually correct hpackification, Makefile edits
This commit is contained in:
parent
7b09d61bc1
commit
3395e8ff96
10
Makefile
10
Makefile
@ -1,10 +1,8 @@
|
|||||||
build: build-7.10
|
build:
|
||||||
|
stack build
|
||||||
|
|
||||||
build-7.10:
|
build-tests:
|
||||||
STACK_YAML="stack-7.10.yaml" stack build
|
stack build --test --no-run-tests
|
||||||
|
|
||||||
build-8.0:
|
|
||||||
STACK_YAML="stack-8.0.yaml" stack build
|
|
||||||
|
|
||||||
ghci:
|
ghci:
|
||||||
stack ghci
|
stack ghci
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
--
|
--
|
||||||
-- see: https://github.com/sol/hpack
|
-- see: https://github.com/sol/hpack
|
||||||
--
|
--
|
||||||
-- hash: e5ab42806c413de0b3f9c18b155779bf6d71f87bcfec2fda5c109bf2f4adb4a2
|
-- hash: 34b1b8836c9ae7acb038d0e808674ddb4c2ab696d37e5b117f61acad02ed6daf
|
||||||
|
|
||||||
name: esqueleto
|
name: esqueleto
|
||||||
version: 2.6.0
|
version: 2.6.0
|
||||||
@ -43,6 +43,7 @@ library
|
|||||||
, text >=0.11 && <1.3
|
, text >=0.11 && <1.3
|
||||||
, time >=1.5.0.1 && <=1.8.0.2
|
, time >=1.5.0.1 && <=1.8.0.2
|
||||||
, transformers >=0.2
|
, transformers >=0.2
|
||||||
|
, unliftio
|
||||||
, unordered-containers >=0.2
|
, unordered-containers >=0.2
|
||||||
if impl(ghc >=8.0)
|
if impl(ghc >=8.0)
|
||||||
ghc-options: -Wall -Wno-redundant-constraints
|
ghc-options: -Wall -Wno-redundant-constraints
|
||||||
@ -50,11 +51,11 @@ library
|
|||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
exposed-modules:
|
exposed-modules:
|
||||||
Database.Esqueleto
|
Database.Esqueleto
|
||||||
|
Database.Esqueleto.Internal.Language
|
||||||
|
Database.Esqueleto.Internal.Sql
|
||||||
Database.Esqueleto.MySQL
|
Database.Esqueleto.MySQL
|
||||||
Database.Esqueleto.PostgreSQL
|
Database.Esqueleto.PostgreSQL
|
||||||
Database.Esqueleto.SQLite
|
Database.Esqueleto.SQLite
|
||||||
Database.Esqueleto.Internal.Language
|
|
||||||
Database.Esqueleto.Internal.Sql
|
|
||||||
other-modules:
|
other-modules:
|
||||||
Database.Esqueleto.Internal.PersistentImport
|
Database.Esqueleto.Internal.PersistentImport
|
||||||
Paths_esqueleto
|
Paths_esqueleto
|
||||||
@ -67,29 +68,28 @@ test-suite mysql
|
|||||||
test
|
test
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
build-depends:
|
build-depends:
|
||||||
HUnit
|
base >=4.8 && <5.0
|
||||||
, QuickCheck
|
, blaze-html
|
||||||
, base
|
, bytestring
|
||||||
, conduit
|
, conduit >=1.3
|
||||||
, containers
|
, containers
|
||||||
, esqueleto
|
, esqueleto
|
||||||
, hspec
|
, hspec
|
||||||
, monad-control
|
|
||||||
, monad-logger
|
, monad-logger
|
||||||
, mysql
|
, mysql
|
||||||
, mysql-simple
|
, mysql-simple
|
||||||
, persistent
|
, persistent >=2.8.0 && <2.9
|
||||||
, persistent-mysql
|
, persistent-mysql
|
||||||
, persistent-template
|
, persistent-template
|
||||||
, resourcet
|
, resourcet >=1.2
|
||||||
, text
|
, tagged >=0.2
|
||||||
, time
|
, text >=0.11 && <1.3
|
||||||
, transformers
|
, time >=1.5.0.1 && <=1.8.0.2
|
||||||
|
, transformers >=0.2
|
||||||
, unliftio
|
, unliftio
|
||||||
|
, unordered-containers >=0.2
|
||||||
other-modules:
|
other-modules:
|
||||||
Common.Test
|
Common.Test
|
||||||
PostgreSQL.Test
|
|
||||||
SQLite.Test
|
|
||||||
Paths_esqueleto
|
Paths_esqueleto
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
|
||||||
@ -100,29 +100,28 @@ test-suite postgresql
|
|||||||
test
|
test
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
build-depends:
|
build-depends:
|
||||||
HUnit
|
base >=4.8 && <5.0
|
||||||
, QuickCheck
|
, blaze-html
|
||||||
, base
|
, bytestring
|
||||||
, conduit
|
, conduit >=1.3
|
||||||
, containers
|
, containers
|
||||||
, esqueleto
|
, esqueleto
|
||||||
, hspec
|
, hspec
|
||||||
, monad-control
|
|
||||||
, monad-logger
|
, monad-logger
|
||||||
, persistent
|
, persistent >=2.8.0 && <2.9
|
||||||
, persistent-postgresql
|
, persistent-postgresql
|
||||||
, persistent-template
|
, persistent-template
|
||||||
, postgresql-libpq
|
, postgresql-libpq
|
||||||
, postgresql-simple
|
, postgresql-simple
|
||||||
, resourcet
|
, resourcet >=1.2
|
||||||
, text
|
, tagged >=0.2
|
||||||
, time
|
, text >=0.11 && <1.3
|
||||||
, transformers
|
, time >=1.5.0.1 && <=1.8.0.2
|
||||||
|
, transformers >=0.2
|
||||||
, unliftio
|
, unliftio
|
||||||
|
, unordered-containers >=0.2
|
||||||
other-modules:
|
other-modules:
|
||||||
Common.Test
|
Common.Test
|
||||||
MySQL.Test
|
|
||||||
SQLite.Test
|
|
||||||
Paths_esqueleto
|
Paths_esqueleto
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
|
||||||
@ -133,26 +132,25 @@ test-suite sqlite
|
|||||||
test
|
test
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
build-depends:
|
build-depends:
|
||||||
HUnit
|
base >=4.8 && <5.0
|
||||||
, QuickCheck
|
, blaze-html
|
||||||
, base
|
, bytestring
|
||||||
, conduit
|
, conduit >=1.3
|
||||||
, containers
|
, containers
|
||||||
, esqueleto
|
, esqueleto
|
||||||
, hspec
|
, hspec
|
||||||
, monad-control
|
|
||||||
, monad-logger
|
, monad-logger
|
||||||
, persistent
|
, persistent >=2.8.0 && <2.9
|
||||||
, persistent-sqlite
|
, persistent-sqlite
|
||||||
, persistent-template
|
, persistent-template
|
||||||
, resourcet
|
, resourcet >=1.2
|
||||||
, text
|
, tagged >=0.2
|
||||||
, time
|
, text >=0.11 && <1.3
|
||||||
, transformers
|
, time >=1.5.0.1 && <=1.8.0.2
|
||||||
|
, transformers >=0.2
|
||||||
, unliftio
|
, unliftio
|
||||||
|
, unordered-containers >=0.2
|
||||||
other-modules:
|
other-modules:
|
||||||
Common.Test
|
Common.Test
|
||||||
MySQL.Test
|
|
||||||
PostgreSQL.Test
|
|
||||||
Paths_esqueleto
|
Paths_esqueleto
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
|||||||
124
package.yaml
124
package.yaml
@ -41,29 +41,31 @@ copyright: (c) 2012-2016 Felipe Almeida Lessa
|
|||||||
license: BSD3
|
license: BSD3
|
||||||
homepage: https://github.com/bitemyapp/esqueleto
|
homepage: https://github.com/bitemyapp/esqueleto
|
||||||
git: git://github.com/bitemyapp/esqueleto.git
|
git: git://github.com/bitemyapp/esqueleto.git
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- monad-logger
|
- base >=4.8 && <5.0
|
||||||
|
- blaze-html
|
||||||
|
- bytestring
|
||||||
|
- conduit >=1.3
|
||||||
|
- monad-logger
|
||||||
|
- persistent >=2.8.0 && <2.9
|
||||||
|
- resourcet >=1.2
|
||||||
|
- tagged >=0.2
|
||||||
|
- text >=0.11 && <1.3
|
||||||
|
- time >=1.5.0.1 && <=1.8.0.2
|
||||||
|
- transformers >=0.2
|
||||||
|
- unliftio
|
||||||
|
- unordered-containers >=0.2
|
||||||
|
|
||||||
library:
|
library:
|
||||||
source-dirs: src/
|
source-dirs: src/
|
||||||
exposed-modules:
|
exposed-modules:
|
||||||
- Database.Esqueleto
|
- Database.Esqueleto
|
||||||
- Database.Esqueleto.MySQL
|
- Database.Esqueleto.Internal.Language
|
||||||
- Database.Esqueleto.PostgreSQL
|
- Database.Esqueleto.Internal.Sql
|
||||||
- Database.Esqueleto.SQLite
|
- Database.Esqueleto.MySQL
|
||||||
- Database.Esqueleto.Internal.Language
|
- Database.Esqueleto.PostgreSQL
|
||||||
- Database.Esqueleto.Internal.Sql
|
- Database.Esqueleto.SQLite
|
||||||
dependencies:
|
|
||||||
- base >=4.8 && <5.0
|
|
||||||
- bytestring
|
|
||||||
- text >=0.11 && <1.3
|
|
||||||
- persistent >=2.8.0 && <2.9
|
|
||||||
- transformers >=0.2
|
|
||||||
- unordered-containers >=0.2
|
|
||||||
- tagged >=0.2
|
|
||||||
- conduit >=1.3
|
|
||||||
- resourcet >=1.2
|
|
||||||
- time >=1.5.0.1 && <=1.8.0.2
|
|
||||||
- blaze-html
|
|
||||||
when:
|
when:
|
||||||
- condition: impl(ghc >=8.0)
|
- condition: impl(ghc >=8.0)
|
||||||
then:
|
then:
|
||||||
@ -75,73 +77,47 @@ library:
|
|||||||
|
|
||||||
tests:
|
tests:
|
||||||
mysql:
|
mysql:
|
||||||
main: MySQL/Test.hs
|
main: 'MySQL/Test.hs'
|
||||||
source-dirs: test
|
source-dirs: test
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
dependencies:
|
dependencies:
|
||||||
- base
|
- containers
|
||||||
- persistent
|
- esqueleto
|
||||||
- transformers
|
- hspec
|
||||||
- resourcet
|
- mysql-simple
|
||||||
- text
|
- mysql
|
||||||
- conduit
|
- persistent-mysql
|
||||||
- containers
|
- persistent-template
|
||||||
- HUnit
|
other-modules:
|
||||||
- QuickCheck
|
- Common.Test
|
||||||
- hspec
|
- Paths_esqueleto
|
||||||
- monad-control
|
|
||||||
- time
|
|
||||||
- esqueleto
|
|
||||||
- mysql-simple
|
|
||||||
- mysql
|
|
||||||
- persistent-mysql
|
|
||||||
- persistent-template
|
|
||||||
- monad-control
|
|
||||||
- unliftio
|
|
||||||
|
|
||||||
sqlite:
|
sqlite:
|
||||||
main: SQLite/Test.hs
|
main: SQLite/Test.hs
|
||||||
source-dirs: test
|
source-dirs: test
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
dependencies:
|
dependencies:
|
||||||
- base
|
- containers
|
||||||
- persistent
|
- esqueleto
|
||||||
- transformers
|
- hspec
|
||||||
- resourcet
|
- persistent-sqlite
|
||||||
- text
|
- persistent-template
|
||||||
- conduit
|
other-modules:
|
||||||
- containers
|
- Common.Test
|
||||||
- HUnit
|
- Paths_esqueleto
|
||||||
- QuickCheck
|
|
||||||
- hspec
|
|
||||||
- monad-control
|
|
||||||
- time
|
|
||||||
- esqueleto
|
|
||||||
- persistent-sqlite
|
|
||||||
- persistent-template
|
|
||||||
- unliftio
|
|
||||||
|
|
||||||
postgresql:
|
postgresql:
|
||||||
main: PostgreSQL/Test.hs
|
main: PostgreSQL/Test.hs
|
||||||
source-dirs: test
|
source-dirs: test
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
dependencies:
|
dependencies:
|
||||||
- base
|
- containers
|
||||||
- persistent
|
- esqueleto
|
||||||
- transformers
|
- hspec
|
||||||
- resourcet
|
- persistent-postgresql
|
||||||
- text
|
- persistent-template
|
||||||
- conduit
|
- postgresql-libpq
|
||||||
- containers
|
- postgresql-simple
|
||||||
- HUnit
|
other-modules:
|
||||||
- QuickCheck
|
- Common.Test
|
||||||
- hspec
|
- Paths_esqueleto
|
||||||
- monad-control
|
|
||||||
- time
|
|
||||||
- esqueleto
|
|
||||||
- postgresql-simple
|
|
||||||
- postgresql-libpq
|
|
||||||
- persistent-postgresql
|
|
||||||
- persistent-template
|
|
||||||
- monad-control
|
|
||||||
- unliftio
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user