fix a warning
This commit is contained in:
parent
c4a430facb
commit
4cf30aca71
2 changed files with 13 additions and 4 deletions
|
@ -8,6 +8,9 @@ author: Rhiannon Morris <rhi@rhiannon.website>
|
|||
maintainer: Rhiannon Morris <rhi@rhiannon.website>
|
||||
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue