File tree Expand file tree Collapse file tree 1 file changed +38
-14
lines changed
Expand file tree Collapse file tree 1 file changed +38
-14
lines changed Original file line number Diff line number Diff line change @@ -8,34 +8,58 @@ name: onchain
88version : 0.0.0
99build-type : Simple
1010
11- library
12- exposed-modules :
13- Onchain.Debug
14- Onchain.Escrow
15- Onchain.Release
16- Onchain.Simple
11+ -- These options are copied from the plinth template.
12+ -- See: https://github.com/IntersectMBO/plinth-template
1713
18- hs-source-dirs : src
19- include-dirs : src
14+ -- These options are supported by GHC and Plinth
15+ common ghc-options
16+ ghc-options : -Wall
17+ default-language : Haskell2010
2018 default-extensions :
2119 CPP
2220 DataKinds
21+ DeriveAnyClass
22+ DeriveGeneric
23+ DerivingStrategies
24+ FlexibleContexts
25+ FlexibleInstances
26+ GeneralizedNewtypeDeriving
2327 ImportQualifiedPost
24- ImportQualifiedPost
28+ LambdaCase
2529 MultiParamTypeClasses
2630 NoImplicitPrelude
2731 NumericUnderscores
2832 OverloadedStrings
29- OverloadedStrings
33+ PatternSynonyms
34+ RecordWildCards
3035 ScopedTypeVariables
36+ StandaloneDeriving
37+ Strict
3138 TemplateHaskell
39+ TypeApplications
40+ UndecidableInstances
3241 ViewPatterns
3342
43+ -- These options are required for Plinth builds
44+ common plinth-options
45+ import : ghc-options
3446 ghc-options :
35- -Wall -Wno-missed-extra-shared-lib -fobject-code
36- -fno-ignore-interface-pragmas -fignore-hpc-changes
37- -fno-omit-interface-pragmas
47+ -fobject-code -fno-full-laziness -fno-ignore-interface-pragmas
48+ -fno-omit-interface-pragmas -fno-spec-constr -fno-specialise
49+ -fno-strictness -fno-unbox-small-strict-fields
50+ -fno-unbox-strict-fields -fplugin-opt
51+ PlutusTx.Plugin :target-version= 1.1.0
3852
53+ library
54+ import : plinth-options
55+ exposed-modules :
56+ Onchain.Debug
57+ Onchain.Escrow
58+ Onchain.Release
59+ Onchain.Simple
60+
61+ hs-source-dirs : src
62+ include-dirs : src
3963 build-depends :
4064 , base
4165 , bytestring
@@ -45,4 +69,4 @@ library
4569 , plutus-tx
4670 , plutus-tx-plugin
4771
48- default-language : Haskell2010
72+ default-language : Haskell2010
You can’t perform that action at this time.
0 commit comments