Permalink
Browse files

Generate cabal file with hpack

  • Loading branch information...
adomokos committed Nov 28, 2017
1 parent 9bf2862 commit 873bacf0c76787e9e199f994ca43d6de2f67cf3a
Showing with 56 additions and 40 deletions.
  1. +31 −40 hashmir.cabal
  2. +25 −0 package.yaml
@@ -1,45 +1,36 @@
name: hashmir
version: 0.1.0.0
synopsis: A simple project to show yeshql with MySQL
homepage: https://github.com/adomokos/hashmir#readme
license: BSD3
license-file: LICENSE
author: Attila Domokos
maintainer: adomokos@gmail.com
copyright: 2017 Attila Domokos
category: Console
build-type: Simple
extra-source-files: README.md
cabal-version: >=1.10
-- This file has been generated from package.yaml by hpack version 0.17.1.
--
-- see: https://github.com/sol/hpack

-- To avoid duplicated efforts in documentation and dealing with the
-- complications of embedding Haddock markup inside cabal files, it is
-- common to point users to the README.md file.
description: Please see the README on Github at <https://github.com/githubuser/hashmir#readme>
name: hashmir
version: 0.1.0.0
category: Console App
homepage: https://github.com/adomokos/hashmir#readme
author: Attila Domokos <adomokos@gmail.com>
maintainer: adomokos@gmail.com
copyright: 2017 Attila Domokos
license-file: LICENSE
build-type: Simple
cabal-version: >= 1.10

library
hs-source-dirs: src
exposed-modules: Lib
build-depends: base >= 4.7 && < 5
default-language: Haskell2010
hs-source-dirs:
src/
ghc-options: -Wall
build-depends:
base >= 4.7 && < 5
exposed-modules:
Lib
other-modules:
Paths_hashmir
default-language: Haskell2010

executable hashmir-exe
hs-source-dirs: app
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: base
, hashmir
default-language: Haskell2010

test-suite hashmir-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: base
, hashmir
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010

source-repository head
type: git
location: https://github.com/githubuser/hashmir
main-is: Main.hs
hs-source-dirs:
app/
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >= 4.7 && < 5
, hashmir
default-language: Haskell2010
@@ -0,0 +1,25 @@
name: hashmir
version: 0.1.0.0
author: Attila Domokos <adomokos@gmail.com>
maintainer: adomokos@gmail.com
copyright: 2017 Attila Domokos
category: Console App
homepage: https://github.com/adomokos/hashmir#readme

ghc-options: -Wall

dependencies:
- base >= 4.7 && < 5

library:
source-dirs: src/
exposed-modules:
- Lib

executables:
hashmir-exe:
source-dirs: app/
main: Main.hs
dependencies:
hashmir
ghc-options: -threaded -rtsopts -with-rtsopts=-N

0 comments on commit 873bacf

Please sign in to comment.