mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-09-11 08:55:25 +03:00
relational-record-examples: build both two examples.
This commit is contained in:
parent
b0e024bb00
commit
a1708b3b8c
@ -35,8 +35,24 @@ flag binary
|
||||
|
||||
library
|
||||
hs-source-dirs: lib
|
||||
exposed-modules: Database.Relational.Query.SQLite3
|
||||
exposed-modules:
|
||||
Database.Relational.Query.SQLite3
|
||||
Database.Record.TH.SQLite3
|
||||
|
||||
hs-source-dirs: entity
|
||||
exposed-modules:
|
||||
Account
|
||||
Branch
|
||||
Business
|
||||
Customer
|
||||
Department
|
||||
Employee
|
||||
Individual
|
||||
Officer
|
||||
Product
|
||||
ProductType
|
||||
Transaction
|
||||
|
||||
build-depends: base < 5
|
||||
, HDBC
|
||||
, HDBC-session
|
||||
@ -50,6 +66,7 @@ library
|
||||
if impl(ghc == 7.4.*)
|
||||
build-depends: ghc-prim == 0.2.*
|
||||
|
||||
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
||||
@ -60,17 +77,25 @@ executable examples
|
||||
buildable: False
|
||||
hs-source-dirs: src
|
||||
main-is: examples.hs
|
||||
other-modules: Account
|
||||
Branch
|
||||
Business
|
||||
Customer
|
||||
Department
|
||||
Employee
|
||||
Individual
|
||||
Officer
|
||||
Product
|
||||
ProductType
|
||||
Transaction
|
||||
build-depends: base < 5
|
||||
, product-isomorphic >= 0.0.3
|
||||
, relational-query >= 0.11
|
||||
, relational-record-examples
|
||||
, template-haskell
|
||||
, time
|
||||
if impl(ghc == 7.4.*)
|
||||
build-depends: ghc-prim == 0.2.*
|
||||
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
||||
executable specialized-examples
|
||||
if flag(binary)
|
||||
buildable: True
|
||||
else
|
||||
buildable: False
|
||||
hs-source-dirs: src
|
||||
main-is: specializedExamples.hs
|
||||
build-depends: base < 5
|
||||
, product-isomorphic >= 0.0.3
|
||||
, relational-query >= 0.11
|
||||
|
Loading…
Reference in New Issue
Block a user