diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2017-09-28 21:33:24 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2017-09-28 21:33:24 +0200 |
commit | 4b7b646c4fddb1c368aead0315a1f6ce0784b230 (patch) | |
tree | 4726bfeba0074d3db6899466d276aadef5c2ed37 /cabal-helper.cabal | |
parent | 7e79dacef6fbeb1ae7805072f6a04b36d99eab7b (diff) |
Move split source into src/ and lib/
Diffstat (limited to 'cabal-helper.cabal')
-rw-r--r-- | cabal-helper.cabal | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/cabal-helper.cabal b/cabal-helper.cabal index 07aadb4..85998fc 100644 --- a/cabal-helper.cabal +++ b/cabal-helper.cabal @@ -33,7 +33,7 @@ category: Distribution build-type: Custom cabal-version: >=1.14 extra-source-files: README.md - CabalHelper/Runtime/*.hs + src/CabalHelper/Runtime/*.hs source-repository head type: git @@ -48,6 +48,7 @@ custom-setup library default-language: Haskell2010 default-extensions: NondecreasingIndentation + hs-source-dirs: lib, src exposed-modules: Distribution.Helper other-modules: CabalHelper.Shared.InterfaceTypes @@ -69,6 +70,7 @@ executable cabal-helper-wrapper default-extensions: NondecreasingIndentation other-extensions: TemplateHaskell main-is: CabalHelper/Compiletime/Wrapper.hs + hs-source-dirs: src other-modules: CabalHelper.Compiletime.Compat.Environment CabalHelper.Compiletime.Compat.Version @@ -105,7 +107,8 @@ test-suite compile-test default-language: Haskell2010 default-extensions: NondecreasingIndentation type: exitcode-stdio-1.0 - main-is: tests/CompileTest.hs + main-is: CompileTest.hs + hs-source-dirs: tests, src other-modules: CabalHelper.Compiletime.Compat.Environment CabalHelper.Compiletime.Compat.Version @@ -116,7 +119,6 @@ test-suite compile-test CabalHelper.Shared.Common CabalHelper.Shared.Sandbox Paths_cabal_helper - hs-source-dirs: . ghc-options: -Wall build-tools: cabal @@ -144,6 +146,7 @@ executable cabal-helper-main else buildable: False main-is: CabalHelper/Runtime/Main.hs + hs-source-dirs: src other-modules: CabalHelper.Runtime.Licenses CabalHelper.Shared.Common |