Reorganize imports
This commit is contained in:
36
Y2022.cabal
36
Y2022.cabal
@@ -12,31 +12,45 @@ source-repository head
|
||||
location: https://github.com/ctsk/aoc-2022
|
||||
|
||||
common warnings
|
||||
ghc-options: -Wall -O2 -ddump-simpl -ddump-to-file
|
||||
ghc-options: -Wall
|
||||
|
||||
common defaults
|
||||
default-language: Haskell2010
|
||||
build-depends:
|
||||
base ^>=4.18.0.0
|
||||
, extra ^>=1.7.14
|
||||
, containers
|
||||
|
||||
|
||||
library
|
||||
default-language: Haskell2010
|
||||
import: warnings, defaults
|
||||
hs-source-dirs: src
|
||||
ghc-options: -Wall -O2 -ddump-simpl -ddump-to-file
|
||||
exposed-modules:
|
||||
Lib
|
||||
Print
|
||||
other-modules:
|
||||
Common
|
||||
Parse
|
||||
Print
|
||||
Util
|
||||
Days.D01
|
||||
Days.D02
|
||||
Days.D03
|
||||
build-depends:
|
||||
base ^>=4.18.0.0
|
||||
, extra ^>=1.7.14
|
||||
, megaparsec ^>=9.4.0
|
||||
megaparsec ^>=9.4.0
|
||||
, text
|
||||
|
||||
executable Y2022
|
||||
import: warnings
|
||||
import: warnings, defaults
|
||||
hs-source-dirs: app
|
||||
main-is: Main.hs
|
||||
build-depends:
|
||||
Y2022
|
||||
, base ^>=4.18.0.0
|
||||
hs-source-dirs: app
|
||||
default-language: Haskell2010
|
||||
|
||||
benchmark Y2022-bench
|
||||
import: defaults
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: bench
|
||||
main-is: Bench.hs
|
||||
build-depends:
|
||||
Y2022
|
||||
, criterion ^>=1.6.3.0
|
||||
Reference in New Issue
Block a user