diff --git a/.gitignore b/.gitignore index 892efe5..92b8bcd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ /.stack-work/ *~ -/hi-file-parser.cabal diff --git a/hi-file-parser.cabal b/hi-file-parser.cabal new file mode 100644 index 0000000..cef54b9 --- /dev/null +++ b/hi-file-parser.cabal @@ -0,0 +1,82 @@ +cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.35.0. +-- +-- see: https://github.com/sol/hpack + +name: hi-file-parser +version: 0.1.2.0 +synopsis: Parser for GHC's hi files +description: Please see the README on Github at +category: Development +homepage: https://github.com/commercialhaskell/hi-file-parser#readme +bug-reports: https://github.com/commercialhaskell/hi-file-parser/issues +author: Hussein Ait-Lahcen +maintainer: michael@snoyman.com +license: BSD3 +license-file: LICENSE +build-type: Simple +extra-source-files: + README.md + ChangeLog.md + test-files/iface/x64/ghc844/Main.hi + test-files/iface/x64/ghc844/X.hi + test-files/iface/x64/ghc822/Main.hi + test-files/iface/x64/ghc822/X.hi + test-files/iface/x64/ghc864/Main.hi + test-files/iface/x64/ghc864/X.hi + test-files/iface/x64/ghc884/Main.hi + test-files/iface/x64/ghc884/X.hi + test-files/iface/x64/ghc8104/Main.hi + test-files/iface/x64/ghc8104/X.hi + test-files/iface/x64/ghc901/Main.hi + test-files/iface/x64/ghc901/X.hi + test-files/iface/x64/ghc9023/Main.hi + test-files/iface/x64/ghc9023/X.hi + test-files/iface/x64/ghc9041/Main.hi + test-files/iface/x64/ghc9041/X.hi + test-files/iface/x32/ghc844/Main.hi + test-files/iface/x32/ghc802/Main.hi + test-files/iface/x32/ghc7103/Main.hi + test-files/iface/x32/ghc822/Main.hi + +source-repository head + type: git + location: https://github.com/commercialhaskell/hi-file-parser + +library + exposed-modules: + HiFileParser + other-modules: + Paths_hi_file_parser + hs-source-dirs: + src + ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints + build-depends: + base >=4.10 && <5 + , binary + , bytestring + , mtl + , rio + , vector + default-language: Haskell2010 + +test-suite hi-file-parser-test + type: exitcode-stdio-1.0 + main-is: Spec.hs + other-modules: + HiFileParserSpec + Paths_hi_file_parser + hs-source-dirs: + test + ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N + build-depends: + base >=4.10 && <5 + , binary + , bytestring + , hi-file-parser + , hspec + , mtl + , rio + , vector + default-language: Haskell2010