forked from IntersectMBO/plutus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plutus-doc.cabal
64 lines (58 loc) · 2.13 KB
/
plutus-doc.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
cabal-version: 2.2
name: plutus-doc
version: 0.1.0.0
license: Apache-2.0
license-files:
LICENSE
NOTICE
maintainer: [email protected]
author: Michael Peyton Jones, Jann Mueller
synopsis: Plutus documentation
description: Plutus documentation
category: Language
build-type: Simple
source-repository head
type: git
location: https://github.com/input-output-hk/plutus
flag defer-plugin-errors
description:
Defer errors from the plugin, useful for things like Haddock that can't handle it.
default: False
manual: True
common lang
default-language: Haskell2010
default-extensions: ExplicitForAll ScopedTypeVariables
DeriveGeneric StandaloneDeriving DeriveLift
GeneralizedNewtypeDeriving DeriveFunctor DeriveFoldable
DeriveTraversable MultiParamTypeClasses
other-extensions: DeriveAnyClass FlexibleContexts FlexibleInstances
TypeFamilies OverloadedStrings
MonadComprehensions ConstrainedClassMethods TupleSections GADTs
RankNTypes TemplateHaskell QuasiQuotes TypeApplications
ExistentialQuantification
ghc-options: -Wall -Wnoncanonical-monad-instances
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities
-- See Plutus Tx readme
-fobject-code -fno-ignore-interface-pragmas -fno-omit-interface-pragmas
if flag(defer-plugin-errors)
executable doc-doctests
import: lang
hs-source-dirs: tutorials
main-is: Main.hs
ghc-options: -pgmL unlit -optL--ghc -optL--language=haskell -optL--from=asciidoc -Wno-unused-imports
build-tool-depends: unlit:unlit -any, doctest:doctest -any
other-modules:
PlutusTx
build-depends:
base >=4.9 && <5,
template-haskell >=2.13.0.0,
bytestring -any,
language-plutus-core -any,
plutus-tx -any,
plutus-ledger -any,
plutus-contract -any,
prettyprinter -any,
containers -any
if !(impl(ghcjs) || os(ghcjs))
build-depends: plutus-tx-plugin -any