64 lines
1.9 KiB
Plaintext
64 lines
1.9 KiB
Plaintext
|
cabal-version: 2.2
|
||
|
|
||
|
-- This file has been generated from package.yaml by hpack version 0.36.0.
|
||
|
--
|
||
|
-- see: https://github.com/sol/hpack
|
||
|
|
||
|
name: hamming
|
||
|
version: 0.0.0
|
||
|
synopsis: game/utility for teaching about Hamming codes
|
||
|
description: Please see the README on GitHub at <https://github.com/githubuser/hamming#readme>
|
||
|
category: Games
|
||
|
author: Jonathan Lamothe
|
||
|
maintainer: jonathan@jlamothe.net
|
||
|
copyright: 2024 Jonathan Lamothe
|
||
|
license: AGPL-3.0-or-later
|
||
|
license-file: LICENSE
|
||
|
build-type: Simple
|
||
|
extra-source-files:
|
||
|
README.md
|
||
|
CHANGELOG.md
|
||
|
|
||
|
library
|
||
|
exposed-modules:
|
||
|
Hamming
|
||
|
other-modules:
|
||
|
Paths_hamming
|
||
|
autogen-modules:
|
||
|
Paths_hamming
|
||
|
hs-source-dirs:
|
||
|
src
|
||
|
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
|
||
|
build-depends:
|
||
|
base >=4.7 && <5
|
||
|
default-language: Haskell2010
|
||
|
|
||
|
executable hamming
|
||
|
main-is: Main.hs
|
||
|
other-modules:
|
||
|
Paths_hamming
|
||
|
autogen-modules:
|
||
|
Paths_hamming
|
||
|
hs-source-dirs:
|
||
|
app
|
||
|
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
|
||
|
build-depends:
|
||
|
base >=4.7 && <5
|
||
|
, hamming
|
||
|
default-language: Haskell2010
|
||
|
|
||
|
test-suite hamming-test
|
||
|
type: exitcode-stdio-1.0
|
||
|
main-is: Spec.hs
|
||
|
other-modules:
|
||
|
Paths_hamming
|
||
|
autogen-modules:
|
||
|
Paths_hamming
|
||
|
hs-source-dirs:
|
||
|
test
|
||
|
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
|
||
|
build-depends:
|
||
|
base >=4.7 && <5
|
||
|
, hamming
|
||
|
default-language: Haskell2010
|