Breaks the library and exe as separate cabal projects.
parent
a51dddba56
commit
9c683f3f67
|
@ -0,0 +1,41 @@
|
||||||
|
name: ringo-app
|
||||||
|
version: 0.1.0.0
|
||||||
|
synopsis: OLTP to OLAP schema transformer
|
||||||
|
description: Tool to transform OLTP schemas to OLAP star schemas automatically
|
||||||
|
homepage: http://github.com/abhin4v/ringo
|
||||||
|
license: MIT
|
||||||
|
license-file: ../LICENSE
|
||||||
|
author: Abhinav Sarkar
|
||||||
|
maintainer: abhinav@abhinavsarkar.net
|
||||||
|
copyright: 2015-2016 Quintype Inc, Nilenso Software LLP, Abhinav Sarkar
|
||||||
|
category: SQL
|
||||||
|
build-type: Simple
|
||||||
|
-- extra-source-files:
|
||||||
|
cabal-version: >=1.18
|
||||||
|
|
||||||
|
executable ringo
|
||||||
|
hs-source-dirs: src
|
||||||
|
other-modules: Ringo.ArgParser,
|
||||||
|
Ringo.InputParser,
|
||||||
|
Distribution.CurrentPackageDescription
|
||||||
|
main-is: Main.hs
|
||||||
|
build-depends: base >=4.7 && <5,
|
||||||
|
text >=1.2 && <1.3,
|
||||||
|
bytestring >=0.10 && <0.11,
|
||||||
|
containers >=0.5 && <0.6,
|
||||||
|
optparse-applicative >=0.11 && <0.13,
|
||||||
|
yaml >=0.8.11 && <0.9,
|
||||||
|
vector >=0.10 && <0.12,
|
||||||
|
directory >=1.2 && <1.3,
|
||||||
|
filepath >=1.3 && <1.5,
|
||||||
|
aeson >=0.8 && <0.12,
|
||||||
|
Cabal >=1.18 && <1.23,
|
||||||
|
template-haskell >=2.9 && <2.11,
|
||||||
|
ringo
|
||||||
|
ghc-options: -Wall -Werror -fwarn-incomplete-uni-patterns -fno-warn-unused-do-bind
|
||||||
|
-fno-warn-orphans -funbox-strict-fields -O2
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/abhin4v/ringo
|
|
@ -0,0 +1,2 @@
|
||||||
|
import Distribution.Simple
|
||||||
|
main = defaultMain
|
|
@ -4,7 +4,7 @@ synopsis: OLTP to OLAP schema transformer
|
||||||
description: Tool to transform OLTP schemas to OLAP star schemas automatically
|
description: Tool to transform OLTP schemas to OLAP star schemas automatically
|
||||||
homepage: http://github.com/abhin4v/ringo
|
homepage: http://github.com/abhin4v/ringo
|
||||||
license: MIT
|
license: MIT
|
||||||
license-file: LICENSE
|
license-file: ../LICENSE
|
||||||
author: Abhinav Sarkar
|
author: Abhinav Sarkar
|
||||||
maintainer: abhinav@abhinavsarkar.net
|
maintainer: abhinav@abhinavsarkar.net
|
||||||
copyright: 2015-2016 Quintype Inc, Nilenso Software LLP, Abhinav Sarkar
|
copyright: 2015-2016 Quintype Inc, Nilenso Software LLP, Abhinav Sarkar
|
||||||
|
@ -38,29 +38,6 @@ library
|
||||||
-fno-warn-orphans -funbox-strict-fields -O2
|
-fno-warn-orphans -funbox-strict-fields -O2
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
|
||||||
executable ringo
|
|
||||||
hs-source-dirs: app
|
|
||||||
other-modules: Ringo.ArgParser,
|
|
||||||
Ringo.InputParser,
|
|
||||||
Distribution.CurrentPackageDescription
|
|
||||||
main-is: Main.hs
|
|
||||||
build-depends: base >=4.7 && <5,
|
|
||||||
text >=1.2 && <1.3,
|
|
||||||
bytestring >=0.10 && <0.11,
|
|
||||||
containers >=0.5 && <0.6,
|
|
||||||
optparse-applicative >=0.11 && <0.13,
|
|
||||||
yaml >=0.8.11 && <0.9,
|
|
||||||
vector >=0.10 && <0.12,
|
|
||||||
directory >=1.2 && <1.3,
|
|
||||||
filepath >=1.3 && <1.5,
|
|
||||||
aeson >=0.8 && <0.12,
|
|
||||||
Cabal >=1.18 && <1.23,
|
|
||||||
template-haskell >=2.9 && <2.11,
|
|
||||||
ringo
|
|
||||||
ghc-options: -Wall -Werror -fwarn-incomplete-uni-patterns -fno-warn-unused-do-bind
|
|
||||||
-fno-warn-orphans -funbox-strict-fields -O2
|
|
||||||
default-language: Haskell2010
|
|
||||||
|
|
||||||
test-suite ringo-test
|
test-suite ringo-test
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
hs-source-dirs: test, src
|
hs-source-dirs: test, src
|
|
@ -5,7 +5,8 @@ resolver: lts-5.1
|
||||||
|
|
||||||
# Local packages, usually specified by relative directory name
|
# Local packages, usually specified by relative directory name
|
||||||
packages:
|
packages:
|
||||||
- '.'
|
- 'ringo'
|
||||||
|
- 'ringo-app'
|
||||||
|
|
||||||
# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)
|
# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)
|
||||||
extra-deps:
|
extra-deps:
|
||||||
|
|
Loading…
Reference in New Issue