Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commit cabal file to the repo to get rid of stack warning #3

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
node_modules
.serverless
.stack-work
*.cabal
/example-project/package-lock.json
/integration-test/run
/dist
Expand Down
46 changes: 0 additions & 46 deletions package.yaml

This file was deleted.

107 changes: 107 additions & 0 deletions serverless-haskell.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack

name: serverless-haskell
version: 0.12.6
synopsis: Deploying Haskell code onto AWS Lambda using Serverless
description: Utilities to help process the events from AWS Lambda when deployed with the serverless-haskell plugin.
category: AWS, Cloud, Network
homepage: https://github.com/seek-oss/serverless-haskell#readme
bug-reports: https://github.com/seek-oss/serverless-haskell/issues
maintainer: akotlyarov@seek.com.au
license: MIT
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md

source-repository head
type: git
location: https://github.com/seek-oss/serverless-haskell

library
exposed-modules:
AWSLambda
AWSLambda.Events
AWSLambda.Events.APIGateway
AWSLambda.Events.KinesisEvent
AWSLambda.Events.MessageAttribute
AWSLambda.Events.Records
AWSLambda.Events.S3Event
AWSLambda.Events.SNSEvent
AWSLambda.Events.SQSEvent
AWSLambda.Handler
AWSLambda.Orphans
Data.Aeson.Alternative
Data.Aeson.Embedded
Data.Aeson.TextValue
other-modules:
Paths_serverless_haskell
hs-source-dirs:
src
ghc-options: -Wall
build-depends:
aeson
, aeson-casing
, amazonka-core ==2.0.*
, amazonka-kinesis ==2.0.*
, amazonka-s3 ==2.0.*
, base >=4.7 && <5
, bytestring
, case-insensitive
, containers
, http-client
, http-types
, iproute
, lens
, safe-exceptions
, text
, time
, unix
, unordered-containers
default-language: Haskell2010

test-suite tests
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
AWSLambda.Events.APIGatewaySpec
AWSLambda.Events.KinesisEventSpec
AWSLambda.Events.S3EventSpec
AWSLambda.Events.SNSEventSpec
AWSLambda.Events.SQSEventSpec
Data.Aeson.AlternativeSpec
Data.Aeson.EmbeddedSpec
Data.Aeson.TestUtil
Paths_serverless_haskell
hs-source-dirs:
test
ghc-options: -Wall
build-depends:
aeson
, aeson-casing
, amazonka-core ==2.0.*
, amazonka-kinesis ==2.0.*
, amazonka-s3 ==2.0.*
, base >=4.7 && <5
, bytestring
, case-insensitive
, containers
, hspec
, hspec-discover
, http-client
, http-types
, iproute
, lens
, raw-strings-qq
, safe-exceptions
, serverless-haskell
, text
, time
, transformers
, unix
, unordered-containers
default-language: Haskell2010