mirror of
https://github.com/Avi-D-coder/implicit-hie.git
synced 2024-11-22 17:55:51 +03:00
Set dependency bounds
This commit is contained in:
parent
6a07072307
commit
6c282e06b2
3
hie.yaml
3
hie.yaml
@ -6,5 +6,8 @@ cradle:
|
||||
- path: "app/Main.hs"
|
||||
component: "implicit-hie:exe:gen-hie"
|
||||
|
||||
- path: "app/Paths_implicit_hie.hs"
|
||||
component: "implicit-hie:exe:gen-hie"
|
||||
|
||||
- path: "test"
|
||||
component: "implicit-hie:test:implicit-hie-test"
|
||||
|
@ -1,4 +1,4 @@
|
||||
cabal-version: 1.12
|
||||
cabal-version: 2.0
|
||||
|
||||
-- This file has been generated from package.yaml by hpack version 0.33.0.
|
||||
--
|
||||
@ -36,14 +36,14 @@ library
|
||||
src
|
||||
ghc-options: -Wall -Wincomplete-record-updates -Wincomplete-uni-patterns -fno-warn-unused-imports -fno-warn-unused-binds -fno-warn-name-shadowing -fwarn-redundant-constraints
|
||||
build-depends:
|
||||
attoparsec
|
||||
attoparsec >= 0.13
|
||||
, base >=4.7 && <5
|
||||
, directory
|
||||
, filepath
|
||||
, filepattern
|
||||
, text
|
||||
, transformers
|
||||
, yaml
|
||||
, directory >= 1.3
|
||||
, filepath >= 1.4
|
||||
, filepattern >= 0.1
|
||||
, text >= 1.2
|
||||
, transformers >= 0.5
|
||||
, yaml >= 0.5
|
||||
default-language: Haskell2010
|
||||
|
||||
executable gen-hie
|
||||
|
70
package.yaml
70
package.yaml
@ -1,70 +0,0 @@
|
||||
name: implicit-hie
|
||||
version: 0.1.0.0
|
||||
github: "Avi-D-coder/implicit-hie"
|
||||
license: BSD3
|
||||
author: "Avi Dessauer"
|
||||
maintainer: "avi.the.coder@gmail.com"
|
||||
copyright: "2020"
|
||||
|
||||
extra-source-files:
|
||||
- README.md
|
||||
- ChangeLog.md
|
||||
|
||||
# Metadata used when publishing your package
|
||||
# synopsis: Short description of your package
|
||||
# category: Web
|
||||
|
||||
# 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: "Auto generate a stack or cabal multi component hie.yaml file"
|
||||
|
||||
dependencies:
|
||||
- base >= 4.7 && < 5
|
||||
- text
|
||||
- transformers
|
||||
- attoparsec
|
||||
- yaml
|
||||
- directory
|
||||
- filepattern
|
||||
- filepath
|
||||
|
||||
ghc-options:
|
||||
# - -O2
|
||||
# - -flate-specialise
|
||||
# - -fexpose-all-unfoldings
|
||||
# - -fspecialize-aggressively
|
||||
- -Wall
|
||||
- -Wincomplete-record-updates
|
||||
- -Wincomplete-uni-patterns
|
||||
- -fno-warn-unused-imports
|
||||
- -fno-warn-unused-binds
|
||||
- -fno-warn-name-shadowing
|
||||
- -fwarn-redundant-constraints
|
||||
|
||||
library:
|
||||
source-dirs: src
|
||||
|
||||
executables:
|
||||
gen-hie:
|
||||
main: Main.hs
|
||||
source-dirs: app
|
||||
ghc-options:
|
||||
- -threaded
|
||||
- -rtsopts
|
||||
- -with-rtsopts=-N
|
||||
dependencies:
|
||||
- implicit-hie
|
||||
|
||||
tests:
|
||||
implicit-hie-test:
|
||||
main: Spec.hs
|
||||
source-dirs: test
|
||||
ghc-options:
|
||||
- -threaded
|
||||
- -rtsopts
|
||||
- -with-rtsopts=-N
|
||||
dependencies:
|
||||
- implicit-hie
|
||||
- hspec
|
||||
- hspec-attoparsec
|
Loading…
Reference in New Issue
Block a user