diff --git a/.gitignore b/.gitignore index b9df080..773d8d4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,2 @@ -.cabal-sandbox/ +*.cabal .stack-work/ -cabal.sandbox.config -dist/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cc97df..85a1f37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# Undefined + +## Enhancements + +- Use hpack + # 0.3.0 (2019-02-05) ## Enhancements diff --git a/Setup.hs b/Setup.hs deleted file mode 100644 index 93cfa1f..0000000 --- a/Setup.hs +++ /dev/null @@ -1,11 +0,0 @@ -module Main - ( main - ) - where - -import Distribution.Simple (defaultMain) - - -main :: IO () -main = - defaultMain diff --git a/licensor.cabal b/licensor.cabal deleted file mode 100644 index 291af92..0000000 --- a/licensor.cabal +++ /dev/null @@ -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 -maintainer: Juan Pedro Villa Isaza - -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 diff --git a/package.yaml b/package.yaml new file mode 100644 index 0000000..3071e1f --- /dev/null +++ b/package.yaml @@ -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 +maintainer: Juan Pedro Villa Isaza +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