advent-of-code/2023/haskell/aoc2023.cabal

80 lines
1.3 KiB
Plaintext
Raw Normal View History

2023-12-01 23:03:57 +01:00
cabal-version: 3.0
name: aoc2023
2023-12-02 13:42:14 +01:00
version: 0.0.1
2023-12-01 23:03:57 +01:00
synopsis: Solutions to Advent of Code 2023
license: MIT
author: Maciej Jur
maintainer: maciej@kamoshi.org
build-type: Simple
2023-11-28 22:21:26 +01:00
common warnings
2023-12-01 23:03:57 +01:00
ghc-options: -Wall
2023-11-28 22:21:26 +01:00
library
2023-12-01 23:03:57 +01:00
import: warnings
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
hs-source-dirs: solutions
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
exposed-modules:
Day01
Day02
2023-12-03 13:12:15 +01:00
Day03
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
-- Modules included in this library but not exported.
-- other-modules:
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
build-depends:
2023-12-02 13:42:14 +01:00
base ^>=4.17.2.0,
text ^>=2.1,
megaparsec ^>=9.6
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
default-language: Haskell2010
2023-11-28 22:21:26 +01:00
executable aoc2023
2023-12-01 23:03:57 +01:00
import: warnings
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
main-is: Main.hs
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
other-modules:
Utils
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
build-depends:
base ^>=4.17.2.0,
text ^>=2.1,
aoc2023
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
hs-source-dirs: app
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
default-language: Haskell2010
2023-11-28 22:21:26 +01:00
test-suite aoc2023-test
2023-12-01 23:03:57 +01:00
import: warnings
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
-- Modules included in this executable, other than Main.
-- other-modules:
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
-- The interface type and version of the test suite.
type: exitcode-stdio-1.0
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
hs-source-dirs: tests
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
main-is: Main.hs
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
build-depends:
base ^>=4.17.2.0,
HUnit ^>=1.6,
aoc2023
2023-11-28 22:21:26 +01:00
2023-12-01 23:03:57 +01:00
default-language: Haskell2010