Use hpack (close #20)

This commit is contained in:
Juan Pedro Villa Isaza 2019-02-05 18:08:01 -05:00
parent 0f039d2198
commit 5a7e9a4ecf
5 changed files with 54 additions and 82 deletions

4
.gitignore vendored
View File

@ -1,4 +1,2 @@
.cabal-sandbox/
*.cabal
.stack-work/
cabal.sandbox.config
dist/

View File

@ -1,3 +1,9 @@
# Undefined
## Enhancements
- Use hpack
# 0.3.0 (2019-02-05)
## Enhancements

View File

@ -1,11 +0,0 @@
module Main
( main
)
where
import Distribution.Simple (defaultMain)
main :: IO ()
main =
defaultMain

View File

@ -1,68 +0,0 @@
name: licensor
version: 0.3.0
build-type: Simple
cabal-version: >= 1.10
license: MIT
license-file: LICENSE.md
copyright: 2016 Juan Pedro Villa Isaza
author: Juan Pedro Villa Isaza <jpvillaisaza@gmail.com>
maintainer: Juan Pedro Villa Isaza <jpvillaisaza@gmail.com>
stability: Experimental
homepage: https://github.com/jpvillaisaza/licensor
bug-reports: https://github.com/jpvillaisaza/licensor/issues
synopsis: A license compatibility helper
description: A license compatibility helper.
category: Distribution
tested-with: GHC == 7.10.3, GHC == 8.0.1, GHC == 8.0.2, GHC == 8.2.1, GHC == 8.2.2
extra-source-files: CHANGELOG.md, README.md
library
hs-source-dirs:
src
exposed-modules:
Licensor
other-modules:
Paths_licensor
build-depends:
base >= 4.8 && < 4.11
, bytestring
, Cabal >= 1.22 && < 2.1
, containers
, directory
, http-conduit >= 2.1 && < 2.4
, process
default-language:
Haskell2010
ghc-options:
-Wall
executable licensor
main-is:
Main.hs
build-depends:
base
, Cabal
, cmdargs >= 0.10 && < 0.11
, containers
, directory
, licensor
default-language:
Haskell2010
ghc-options:
-Wall -threaded -rtsopts -with-rtsopts=-N
source-repository head
type: git
location: https://github.com/jpvillaisaza/licensor

47
package.yaml Normal file
View File

@ -0,0 +1,47 @@
name: licensor
version: 0.3.0
synopsis: A license compatibility helper
description: A license compatibility helper.
category: Distribution
stability: Experimental
github: jpvillaisaza/licensor
homepage: https://jpvillaisaza.co/licensor
author: Juan Pedro Villa Isaza <jpvillaisaza@gmail.com>
maintainer: Juan Pedro Villa Isaza <jpvillaisaza@gmail.com>
copyright: 2016 Juan Pedro Villa Isaza
license-file: LICENSE.md
extra-source-files:
- CHANGELOG.md
- README.md
dependencies:
- Cabal >= 1.22 && < 2.1
- base >= 4.8 && < 4.11
- containers
- directory
ghc-options:
- -Wall
library:
source-dirs:
src
dependencies:
- bytestring
- http-conduit >= 2.1 && < 2.4
- process
executable:
main:
Main.hs
dependencies:
- cmdargs >= 0.10 && < 0.11
- licensor
ghc-options:
- -threaded -rtsopts -with-rtsopts=-N