diff --git a/ringo-app/ringo-app.cabal b/ringo-app/ringo-app.cabal index a6e6cc9..cb998d8 100644 --- a/ringo-app/ringo-app.cabal +++ b/ringo-app/ringo-app.cabal @@ -32,7 +32,7 @@ executable ringo aeson >=0.8 && <1.1, Cabal >=1.18 && <1.25, template-haskell >=2.9 && <2.12, - ringo + ringo-core ghc-options: -Wall -fwarn-incomplete-uni-patterns -fno-warn-unused-do-bind -fno-warn-orphans -funbox-strict-fields -O2 default-language: Haskell2010 diff --git a/ringo/LICENSE b/ringo-core/LICENSE similarity index 100% rename from ringo/LICENSE rename to ringo-core/LICENSE diff --git a/ringo/Setup.hs b/ringo-core/Setup.hs similarity index 100% rename from ringo/Setup.hs rename to ringo-core/Setup.hs diff --git a/ringo/ringo.cabal b/ringo-core/ringo-core.cabal similarity index 91% rename from ringo/ringo.cabal rename to ringo-core/ringo-core.cabal index 7d2aa2b..24971f8 100644 --- a/ringo/ringo.cabal +++ b/ringo-core/ringo-core.cabal @@ -1,7 +1,7 @@ -name: ringo +name: ringo-core version: 0.1.0.0 synopsis: OLTP to OLAP schema transformer for Postgres -description: Tool to transform Postgres OLTP schemas to OLAP star schemas automatically +description: Library to transform Postgres OLTP schemas to OLAP star schemas automatically homepage: http://github.com/abhin4v/ringo license: MIT license-file: LICENSE @@ -40,13 +40,13 @@ library -fno-warn-orphans -funbox-strict-fields -O2 default-language: Haskell2010 -test-suite ringo-test +test-suite ringo-core-test type: exitcode-stdio-1.0 hs-source-dirs: test, src main-is: doctests.hs if impl(ghc >= 7.10) build-depends: base - , ringo + , ringo-core , doctest >=0.9 && <0.12 else buildable: False diff --git a/ringo/src/Ringo.hs b/ringo-core/src/Ringo.hs similarity index 100% rename from ringo/src/Ringo.hs rename to ringo-core/src/Ringo.hs diff --git a/ringo/src/Ringo/Extractor.hs b/ringo-core/src/Ringo/Extractor.hs similarity index 100% rename from ringo/src/Ringo/Extractor.hs rename to ringo-core/src/Ringo/Extractor.hs diff --git a/ringo/src/Ringo/Extractor/Internal.hs b/ringo-core/src/Ringo/Extractor/Internal.hs similarity index 100% rename from ringo/src/Ringo/Extractor/Internal.hs rename to ringo-core/src/Ringo/Extractor/Internal.hs diff --git a/ringo/src/Ringo/Generator.hs b/ringo-core/src/Ringo/Generator.hs similarity index 100% rename from ringo/src/Ringo/Generator.hs rename to ringo-core/src/Ringo/Generator.hs diff --git a/ringo/src/Ringo/Generator/Create.hs b/ringo-core/src/Ringo/Generator/Create.hs similarity index 100% rename from ringo/src/Ringo/Generator/Create.hs rename to ringo-core/src/Ringo/Generator/Create.hs diff --git a/ringo/src/Ringo/Generator/Internal.hs b/ringo-core/src/Ringo/Generator/Internal.hs similarity index 100% rename from ringo/src/Ringo/Generator/Internal.hs rename to ringo-core/src/Ringo/Generator/Internal.hs diff --git a/ringo/src/Ringo/Generator/Populate/Dimension.hs b/ringo-core/src/Ringo/Generator/Populate/Dimension.hs similarity index 100% rename from ringo/src/Ringo/Generator/Populate/Dimension.hs rename to ringo-core/src/Ringo/Generator/Populate/Dimension.hs diff --git a/ringo/src/Ringo/Generator/Populate/Fact.hs b/ringo-core/src/Ringo/Generator/Populate/Fact.hs similarity index 100% rename from ringo/src/Ringo/Generator/Populate/Fact.hs rename to ringo-core/src/Ringo/Generator/Populate/Fact.hs diff --git a/ringo/src/Ringo/Generator/Populate/Fact/CountDistinct.hs b/ringo-core/src/Ringo/Generator/Populate/Fact/CountDistinct.hs similarity index 100% rename from ringo/src/Ringo/Generator/Populate/Fact/CountDistinct.hs rename to ringo-core/src/Ringo/Generator/Populate/Fact/CountDistinct.hs diff --git a/ringo/src/Ringo/Generator/Sql.hs b/ringo-core/src/Ringo/Generator/Sql.hs similarity index 100% rename from ringo/src/Ringo/Generator/Sql.hs rename to ringo-core/src/Ringo/Generator/Sql.hs diff --git a/ringo/src/Ringo/Types.hs b/ringo-core/src/Ringo/Types.hs similarity index 100% rename from ringo/src/Ringo/Types.hs rename to ringo-core/src/Ringo/Types.hs diff --git a/ringo/src/Ringo/Types/Internal.hs b/ringo-core/src/Ringo/Types/Internal.hs similarity index 100% rename from ringo/src/Ringo/Types/Internal.hs rename to ringo-core/src/Ringo/Types/Internal.hs diff --git a/ringo/src/Ringo/Utils.hs b/ringo-core/src/Ringo/Utils.hs similarity index 100% rename from ringo/src/Ringo/Utils.hs rename to ringo-core/src/Ringo/Utils.hs diff --git a/ringo/src/Ringo/Validator.hs b/ringo-core/src/Ringo/Validator.hs similarity index 100% rename from ringo/src/Ringo/Validator.hs rename to ringo-core/src/Ringo/Validator.hs diff --git a/ringo/test/doctests.hs b/ringo-core/test/doctests.hs similarity index 100% rename from ringo/test/doctests.hs rename to ringo-core/test/doctests.hs diff --git a/stack.yaml b/stack.yaml index b8a35e7..395d257 100644 --- a/stack.yaml +++ b/stack.yaml @@ -5,7 +5,7 @@ resolver: lts-7.0 # Local packages, usually specified by relative directory name packages: -- 'ringo' +- 'ringo-core' - 'ringo-app' # Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)