Use hpack (close #20)
This commit is contained in:
parent
0f039d2198
commit
5a7e9a4ecf
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,4 +1,2 @@
|
||||
.cabal-sandbox/
|
||||
*.cabal
|
||||
.stack-work/
|
||||
cabal.sandbox.config
|
||||
dist/
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
# Undefined
|
||||
|
||||
## Enhancements
|
||||
|
||||
- Use hpack
|
||||
|
||||
# 0.3.0 (2019-02-05)
|
||||
|
||||
## Enhancements
|
||||
|
||||
11
Setup.hs
11
Setup.hs
@ -1,11 +0,0 @@
|
||||
module Main
|
||||
( main
|
||||
)
|
||||
where
|
||||
|
||||
import Distribution.Simple (defaultMain)
|
||||
|
||||
|
||||
main :: IO ()
|
||||
main =
|
||||
defaultMain
|
||||
@ -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
47
package.yaml
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user