diff --git a/graphql.cabal b/graphql.cabal index 49fdfeb..1d40c1c 100644 --- a/graphql.cabal +++ b/graphql.cabal @@ -4,7 +4,7 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: aba9e6c1a0e250a7d0dbabbbdae5dceb119343f6acf06744da66677a487fcca6 +-- hash: 4035f9ebd6df2085ad80f5918fc5a65f22b2699f620f7f03c2a3e58ac84827d6 name: graphql version: 0.3 @@ -50,7 +50,7 @@ library other-modules: Paths_graphql hs-source-dirs: - ./. + src build-depends: aeson , base >=4.7 && <5 diff --git a/package.yaml b/package.yaml index 2ad4c94..cb9d56c 100644 --- a/package.yaml +++ b/package.yaml @@ -34,7 +34,7 @@ dependencies: - unordered-containers library: - source-dirs: . + source-dirs: src dependencies: - scientific diff --git a/Data/GraphQL.hs b/src/Data/GraphQL.hs similarity index 100% rename from Data/GraphQL.hs rename to src/Data/GraphQL.hs diff --git a/Data/GraphQL/AST.hs b/src/Data/GraphQL/AST.hs similarity index 100% rename from Data/GraphQL/AST.hs rename to src/Data/GraphQL/AST.hs diff --git a/Data/GraphQL/AST/Core.hs b/src/Data/GraphQL/AST/Core.hs similarity index 100% rename from Data/GraphQL/AST/Core.hs rename to src/Data/GraphQL/AST/Core.hs diff --git a/Data/GraphQL/AST/Transform.hs b/src/Data/GraphQL/AST/Transform.hs similarity index 100% rename from Data/GraphQL/AST/Transform.hs rename to src/Data/GraphQL/AST/Transform.hs diff --git a/Data/GraphQL/Encoder.hs b/src/Data/GraphQL/Encoder.hs similarity index 100% rename from Data/GraphQL/Encoder.hs rename to src/Data/GraphQL/Encoder.hs diff --git a/Data/GraphQL/Error.hs b/src/Data/GraphQL/Error.hs similarity index 100% rename from Data/GraphQL/Error.hs rename to src/Data/GraphQL/Error.hs diff --git a/Data/GraphQL/Execute.hs b/src/Data/GraphQL/Execute.hs similarity index 100% rename from Data/GraphQL/Execute.hs rename to src/Data/GraphQL/Execute.hs diff --git a/Data/GraphQL/Parser.hs b/src/Data/GraphQL/Parser.hs similarity index 100% rename from Data/GraphQL/Parser.hs rename to src/Data/GraphQL/Parser.hs diff --git a/Data/GraphQL/Schema.hs b/src/Data/GraphQL/Schema.hs similarity index 100% rename from Data/GraphQL/Schema.hs rename to src/Data/GraphQL/Schema.hs diff --git a/Language/GraphQL/Lexer.hs b/src/Language/GraphQL/Lexer.hs similarity index 100% rename from Language/GraphQL/Lexer.hs rename to src/Language/GraphQL/Lexer.hs