50 lines
958 B
Plaintext
50 lines
958 B
Plaintext
|
cabal-version: 2.2
|
||
|
name: ips
|
||
|
version: 0.1.0
|
||
|
synopsis: applies ips patches. remember those?
|
||
|
license: WTFPL
|
||
|
|
||
|
author: rhiannon morris <rhi@rhiannon.website>
|
||
|
maintainer: rhiannon morris <rhi@rhiannon.website>
|
||
|
|
||
|
common deps
|
||
|
default-language: Haskell2010
|
||
|
default-extensions:
|
||
|
BlockArguments,
|
||
|
DerivingStrategies,
|
||
|
DuplicateRecordFields,
|
||
|
FlexibleContexts,
|
||
|
GeneralizedNewtypeDeriving,
|
||
|
NamedFieldPuns,
|
||
|
OverloadedStrings,
|
||
|
TupleSections
|
||
|
build-depends:
|
||
|
base ^>= 4.14.1.0,
|
||
|
bytestring ^>= 0.11.1.0,
|
||
|
vector ^>= 0.12.2.0,
|
||
|
attoparsec ^>= 0.13.2.5,
|
||
|
primitive ^>= 0.7.1.0
|
||
|
ghc-options:
|
||
|
-Wall
|
||
|
|
||
|
common exe
|
||
|
build-depends:
|
||
|
ips
|
||
|
ghc-options:
|
||
|
-threaded -rtsopts -with-rtsopts=-N
|
||
|
|
||
|
library
|
||
|
import: deps
|
||
|
hs-source-dirs: src
|
||
|
exposed-modules: IPS
|
||
|
other-modules:
|
||
|
IPS.Word24,
|
||
|
IPS.Types,
|
||
|
IPS.Parse,
|
||
|
IPS.Apply
|
||
|
|
||
|
executable ips
|
||
|
import: deps, exe
|
||
|
hs-source-dirs: main
|
||
|
main-is: ips.hs
|