use hpack
This commit is contained in:
parent
dcf178e333
commit
a3f9283997
4 changed files with 61 additions and 67 deletions
|
@ -1,37 +0,0 @@
|
||||||
name: gen
|
|
||||||
version: 0.1.0.0
|
|
||||||
license-file: LICENSE
|
|
||||||
author: Jon Schoning
|
|
||||||
maintainer: jonschoning@gmail.com
|
|
||||||
build-type: Simple
|
|
||||||
cabal-version: >=1.10
|
|
||||||
|
|
||||||
executable gen
|
|
||||||
main-is: Main.hs
|
|
||||||
-- other-modules:
|
|
||||||
other-extensions: TemplateHaskell
|
|
||||||
build-depends: base >=4.6 && < 5.0
|
|
||||||
, aeson >= 0.11.1 && < 2.0
|
|
||||||
, bytestring >= 0.10.0 && <0.11
|
|
||||||
, containers >= 0.5.0.0 && <0.6
|
|
||||||
, either >= 4.4.1 && < 4.5
|
|
||||||
, http-types >= 0.8 && <0.10
|
|
||||||
, http-client >= 0.5 && <0.6
|
|
||||||
, http-client-tls >= 0.3.0 && < 0.4
|
|
||||||
, text >= 0.11 && < 1.3
|
|
||||||
, time >= 1.5 && < 1.7
|
|
||||||
, transformers >= 0.4.0.0
|
|
||||||
, vector >= 0.10.9 && < 0.12
|
|
||||||
, network >= 2.6.2 && < 2.7
|
|
||||||
, mtl >= 2.2.1
|
|
||||||
, profunctors >= 5
|
|
||||||
, random >= 1.1
|
|
||||||
, safe-exceptions < 0.2
|
|
||||||
, unordered-containers
|
|
||||||
, profunctors >= 5
|
|
||||||
, lens >= 4.13
|
|
||||||
, template-haskell >= 2.10
|
|
||||||
hs-source-dirs: .,
|
|
||||||
../src
|
|
||||||
ghc-options: -ddump-splices -rtsopts
|
|
||||||
default-language: Haskell2010
|
|
38
gen/package.yaml
Normal file
38
gen/package.yaml
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
name: gen
|
||||||
|
version: '0.1.0.0'
|
||||||
|
author: Jon Schoning
|
||||||
|
maintainer: jonschoning@gmail.com
|
||||||
|
license: UnspecifiedLicense
|
||||||
|
source-dirs:
|
||||||
|
- ./.
|
||||||
|
- ../src
|
||||||
|
other-extensions:
|
||||||
|
- TemplateHaskell
|
||||||
|
ghc-options:
|
||||||
|
- -ddump-splices
|
||||||
|
- -rtsopts
|
||||||
|
dependencies:
|
||||||
|
- base >=4.6 && <5.0
|
||||||
|
- aeson >=0.11.1 && <2.0
|
||||||
|
- bytestring >=0.10.0 && <0.11
|
||||||
|
- containers >=0.5.0.0 && <0.6
|
||||||
|
- either >=4.4.1 && <4.5
|
||||||
|
- http-types >=0.8 && <0.10
|
||||||
|
- http-client >=0.5 && <0.6
|
||||||
|
- http-client-tls >=0.3.0 && <0.4
|
||||||
|
- text >=0.11 && <1.3
|
||||||
|
- time >=1.5 && <1.7
|
||||||
|
- transformers >=0.4.0.0
|
||||||
|
- vector >=0.10.9 && <0.12
|
||||||
|
- network >=2.6.2 && <2.7
|
||||||
|
- mtl >=2.2.1
|
||||||
|
- profunctors >=5
|
||||||
|
- random >=1.1
|
||||||
|
- safe-exceptions <0.2
|
||||||
|
- unordered-containers
|
||||||
|
- profunctors >=5
|
||||||
|
- lens >=4.13
|
||||||
|
- template-haskell >=2.10
|
||||||
|
executables:
|
||||||
|
gen:
|
||||||
|
main: Main.hs
|
23
samples/package.yaml
Normal file
23
samples/package.yaml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
name: sample
|
||||||
|
version: '0.1.0.0'
|
||||||
|
author: Jon Schoning
|
||||||
|
maintainer: jonschoning@gmail.com
|
||||||
|
license: UnspecifiedLicense
|
||||||
|
other-extensions:
|
||||||
|
- TemplateHaskell
|
||||||
|
dependencies:
|
||||||
|
- base >=4.6 && <5.0
|
||||||
|
- lens >=4.13
|
||||||
|
- transformers >=0.4.0.0
|
||||||
|
- pinboard
|
||||||
|
- base >=4.6 && <5.0
|
||||||
|
- transformers >=0.4.0.0
|
||||||
|
executables:
|
||||||
|
sampleLens:
|
||||||
|
main: sampleLens.hs
|
||||||
|
source-dirs: ./.
|
||||||
|
ghc-options: -Wall
|
||||||
|
sample:
|
||||||
|
main: sample.hs
|
||||||
|
source-dirs: ./.
|
||||||
|
ghc-options: -Wall
|
|
@ -1,30 +0,0 @@
|
||||||
name: sample
|
|
||||||
version: 0.1.0.0
|
|
||||||
license-file: LICENSE
|
|
||||||
author: Jon Schoning
|
|
||||||
maintainer: jonschoning@gmail.com
|
|
||||||
build-type: Simple
|
|
||||||
cabal-version: >=1.10
|
|
||||||
|
|
||||||
executable sample
|
|
||||||
main-is: sample.hs
|
|
||||||
-- other-modules:
|
|
||||||
other-extensions: TemplateHaskell
|
|
||||||
build-depends: base >=4.6 && < 5.0
|
|
||||||
, transformers >= 0.4.0.0
|
|
||||||
, pinboard
|
|
||||||
hs-source-dirs: .
|
|
||||||
ghc-options: -Wall
|
|
||||||
default-language: Haskell2010
|
|
||||||
|
|
||||||
executable sampleLens
|
|
||||||
main-is: sampleLens.hs
|
|
||||||
-- other-modules:
|
|
||||||
other-extensions: TemplateHaskell
|
|
||||||
build-depends: base >=4.6 && < 5.0
|
|
||||||
, lens >= 4.13
|
|
||||||
, transformers >= 0.4.0.0
|
|
||||||
, pinboard
|
|
||||||
hs-source-dirs: .
|
|
||||||
ghc-options: -Wall
|
|
||||||
default-language: Haskell2010
|
|
Loading…
Reference in a new issue