Skip to content

Commit

Permalink
add base packages
Browse files Browse the repository at this point in the history
  • Loading branch information
nieled committed Jul 3, 2022
1 parent a3b0c01 commit c05c642
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 0 deletions.
13 changes: 13 additions & 0 deletions hie.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
cradle:
stack:
- path: "./src"
component: "uaa-hs:lib"

- path: "./app/Main.hs"
component: "uaa-hs:exe:uaa-hs-exe"

- path: "./app/Paths_uaa_hs.hs"
component: "uaa-hs:exe:uaa-hs-exe"

- path: "./test"
component: "uaa-hs:test:uaa-hs-test"
6 changes: 6 additions & 0 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ description: Please see the README on GitHub at <https://github.com/niel

dependencies:
- base >= 4.7 && < 5
- regex-tdfa
- time
- time-lens

default-extensions:
- OverloadedStrings

library:
source-dirs: src
Expand Down
13 changes: 13 additions & 0 deletions stack.yaml.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This file was autogenerated by Stack.
# You should not edit this file by hand.
# For more information, please see the documentation at:
# https://docs.haskellstack.org/en/stable/lock_files

packages: []
snapshots:
- completed:
size: 618951
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/19/14.yaml
sha256: 4c31d4ef975b0211078862566aedf3b82b6cea569fc2cde4c72a51e5a8d236ce
original:
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/19/14.yaml
15 changes: 15 additions & 0 deletions uaa-hs.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,13 @@ library
Paths_uaa_hs
hs-source-dirs:
src
default-extensions:
OverloadedStrings
build-depends:
base >=4.7 && <5
, regex-tdfa
, time
, time-lens
default-language: Haskell2010

executable uaa-hs-exe
Expand All @@ -40,9 +45,14 @@ executable uaa-hs-exe
Paths_uaa_hs
hs-source-dirs:
app
default-extensions:
OverloadedStrings
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, regex-tdfa
, time
, time-lens
, uaa-hs
default-language: Haskell2010

Expand All @@ -53,8 +63,13 @@ test-suite uaa-hs-test
Paths_uaa_hs
hs-source-dirs:
test
default-extensions:
OverloadedStrings
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, regex-tdfa
, time
, time-lens
, uaa-hs
default-language: Haskell2010

0 comments on commit c05c642

Please sign in to comment.