diff --git a/laantas-script/laantas-script.cabal b/laantas-script/laantas-script.cabal index c33a448..78bd829 100644 --- a/laantas-script/laantas-script.cabal +++ b/laantas-script/laantas-script.cabal @@ -8,6 +8,9 @@ author: Rhiannon Morris maintainer: Rhiannon Morris common base + ghc-options: + -Wall -Wno-missing-signatures -Wno-missing-pattern-synonym-signatures + -Wno-name-shadowing default-language: Haskell2010 default-extensions: BlockArguments, @@ -30,7 +33,10 @@ common base optparse-applicative ^>= 0.16.0.0, text ^>= 2.1, megaparsec ^>= 9.6.1 - ghc-options: -Wall + +common exe + ghc-options: + -threaded -rtsopts -with-rtsopts=-N library import: base @@ -39,7 +45,7 @@ library other-modules: Svg, Glyphs, GlyphsBase, Split executable laantas-script - import: base + import: base, exe hs-source-dirs: main main-is: Main.hs build-depends: laantas-script diff --git a/langfilter/langfilter.cabal b/langfilter/langfilter.cabal index 1ac2656..b950008 100644 --- a/langfilter/langfilter.cabal +++ b/langfilter/langfilter.cabal @@ -11,7 +11,6 @@ common base ghc-options: -Wall -Wno-missing-signatures -Wno-missing-pattern-synonym-signatures -Wno-name-shadowing - -threaded -rtsopts -with-rtsopts=-N default-language: Haskell2010 default-extensions: BlockArguments, @@ -36,6 +35,10 @@ common base pretty-show ^>= 1.10, laantas-script +common exe + ghc-options: + -threaded -rtsopts -with-rtsopts=-N + library import: base hs-source-dirs: lib @@ -48,7 +51,7 @@ library LangFilter executable langfilter - import: base + import: base, exe hs-source-dirs: main main-is: Main.hs build-depends: langfilter