forked from elland/haddock2
Init
This commit is contained in:
commit
c9f61c4e06
16 changed files with 1366 additions and 0 deletions
55
haddock2.cabal
Normal file
55
haddock2.cabal
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
cabal-version: 3.4
|
||||
name: haddock2
|
||||
version: 0.1.0.0
|
||||
license: BSD-3-Clause
|
||||
license-file: LICENSE
|
||||
author: Igor Ranieri
|
||||
maintainer: igor@elland.me
|
||||
build-type: Simple
|
||||
extra-doc-files: CHANGELOG.md
|
||||
|
||||
common common
|
||||
ghc-options: -Wall
|
||||
default-extensions:
|
||||
BlockArguments
|
||||
DuplicateRecordFields
|
||||
NoFieldSelectors
|
||||
|
||||
executable haddock2
|
||||
import: common
|
||||
main-is: Main.hs
|
||||
build-depends: base >=4.20.1.0
|
||||
hs-source-dirs: app
|
||||
default-language: GHC2024
|
||||
|
||||
library haddock2-lib
|
||||
import: common
|
||||
build-depends:
|
||||
base >=4.20.1.0,
|
||||
parsec ^>=3.1.18.0,
|
||||
text ^>=2.1.2,
|
||||
|
||||
hs-source-dirs: src
|
||||
-- cabal-gild: discover src
|
||||
exposed-modules:
|
||||
Identifier
|
||||
Lexer
|
||||
Parser
|
||||
Parser.Util
|
||||
ParserMonad
|
||||
Types
|
||||
|
||||
default-language: GHC2024
|
||||
|
||||
test-suite haddock2-test
|
||||
import: common
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: Spec.hs
|
||||
build-depends:
|
||||
base >=4.20.1.0,
|
||||
haddock2:{haddock2-lib},
|
||||
hspec ^>=2.11.0,
|
||||
text ^>=2.1.2,
|
||||
|
||||
hs-source-dirs: test
|
||||
default-language: GHC2024
|
||||
Loading…
Add table
Add a link
Reference in a new issue