Breaks the library and exe as separate cabal projects.

pull/1/head
Abhinav Sarkar 7 years ago
parent a51dddba56
commit 9c683f3f67
No known key found for this signature in database
GPG Key ID: 7C9166A6F5465AD5
  1. 0
      ringo-app/Setup.hs
  2. 41
      ringo-app/ringo-app.cabal
  3. 0
      ringo-app/src/Distribution/CurrentPackageDescription.hs
  4. 0
      ringo-app/src/Main.hs
  5. 0
      ringo-app/src/Ringo/ArgParser.hs
  6. 0
      ringo-app/src/Ringo/InputParser.hs
  7. 2
      ringo/Setup.hs
  8. 25
      ringo/ringo.cabal
  9. 0
      ringo/src/Ringo.hs
  10. 0
      ringo/src/Ringo/Extractor.hs
  11. 0
      ringo/src/Ringo/Extractor/Internal.hs
  12. 0
      ringo/src/Ringo/Generator.hs
  13. 0
      ringo/src/Ringo/Generator/Create.hs
  14. 0
      ringo/src/Ringo/Generator/Internal.hs
  15. 0
      ringo/src/Ringo/Generator/Populate/Dimension.hs
  16. 0
      ringo/src/Ringo/Generator/Populate/Fact.hs
  17. 0
      ringo/src/Ringo/Generator/Sql.hs
  18. 0
      ringo/src/Ringo/Types.hs
  19. 0
      ringo/src/Ringo/Types/Internal.hs
  20. 0
      ringo/src/Ringo/Utils.hs
  21. 0
      ringo/src/Ringo/Validator.hs
  22. 0
      ringo/test/doctests.hs
  23. 3
      stack.yaml

@ -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
homepage: http://github.com/abhin4v/ringo
license: MIT
license-file: LICENSE
license-file: ../LICENSE
author: Abhinav Sarkar
maintainer: abhinav@abhinavsarkar.net
copyright: 2015-2016 Quintype Inc, Nilenso Software LLP, Abhinav Sarkar
@ -38,29 +38,6 @@ library
-fno-warn-orphans -funbox-strict-fields -O2
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
type: exitcode-stdio-1.0
hs-source-dirs: test, src

@ -5,7 +5,8 @@ resolver: lts-5.1
# Local packages, usually specified by relative directory name
packages:
- '.'
- 'ringo'
- 'ringo-app'
# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)
extra-deps:

Loading…
Cancel
Save