From ccb75bb3dde53e9fc513515160ccd38a5c3492c6 Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Tue, 6 Dec 2022 12:40:28 +0000 Subject: [PATCH 1/1] Renamed library directory --- advent-of-code22.cabal | 6 +++--- {lib => src}/AoC.hs | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename {lib => src}/AoC.hs (100%) diff --git a/advent-of-code22.cabal b/advent-of-code22.cabal index 747359d..c7012e9 100644 --- a/advent-of-code22.cabal +++ b/advent-of-code22.cabal @@ -73,7 +73,7 @@ common common-extensions common build-directives build-depends: base >=4.16 default-language: Haskell2010 - hs-source-dirs: ., app, lib + hs-source-dirs: ., app, src other-modules: AoC ghc-options: -O2 -Wall @@ -89,13 +89,13 @@ executable advent-of-code22 -- LANGUAGE extensions used by modules in this package. -- other-extensions: build-depends: base ^>=4.16.4.0 - hs-source-dirs: app, lib + hs-source-dirs: app, src default-language: Haskell2010 library import: common-extensions build-depends: base >=4.16 - hs-source-dirs: ., app, lib + hs-source-dirs: ., app, src exposed-modules: AoC executable advent01 diff --git a/lib/AoC.hs b/src/AoC.hs similarity index 100% rename from lib/AoC.hs rename to src/AoC.hs -- 2.34.1