Skip to content

Commit c3a336b

Browse files
committed
Add lambda client
1 parent 4c8c16f commit c3a336b

20 files changed

Lines changed: 1685 additions & 1 deletion

.github/workflows/ci.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
3+
on: push
4+
5+
jobs:
6+
ci:
7+
runs-on: ${{ matrix.os }}
8+
env:
9+
STACK_YAML: stack-${{ matrix.ghc }}.yaml
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
ghc: ['8.8', '8.10']
14+
os: [ubuntu-latest]
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: actions/setup-haskell@v1
18+
with:
19+
enable-stack: true
20+
ghc-version: ${{ matrix.ghc }}
21+
stack-version: '2.5.1'
22+
- name: Setup stack
23+
run: |
24+
stack config set install-ghc false
25+
stack config set system-ghc true
26+
- name: Cache
27+
uses: actions/cache@v2
28+
with:
29+
path: ~/.stack
30+
key: a-${{ matrix.os }}-${{ hashFiles(env.STACK_YAML, format('{0}.lock', env.STACK_YAML)) }}
31+
- name: Install dependencies
32+
run: stack build --test --only-dependencies
33+
- name: Build
34+
run: stack build --fast --test --no-run-tests
35+
- name: Run tests
36+
run: stack build --fast --test

.gitignore

Lines changed: 207 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,207 @@
1+
2+
# Created by https://www.gitignore.io/api/macOS,vim,Intellij+iml,emacs,haskell,cabal,stack
3+
# Edit at https://www.gitignore.io/?templates=macOS,vim,Intellij+iml,emacs,haskell,cabal,stack
4+
5+
### Emacs ###
6+
# -*- mode: gitignore; -*-
7+
*~
8+
\#*\#
9+
/.emacs.desktop
10+
/.emacs.desktop.lock
11+
*.elc
12+
auto-save-list
13+
tramp
14+
.\#*
15+
16+
# Org-mode
17+
.org-id-locations
18+
*_archive
19+
20+
# flymake-mode
21+
*_flymake.*
22+
23+
# eshell files
24+
/eshell/history
25+
/eshell/lastdir
26+
27+
# elpa packages
28+
/elpa/
29+
30+
# reftex files
31+
*.rel
32+
33+
# AUCTeX auto folder
34+
/auto/
35+
36+
# cask packages
37+
.cask/
38+
dist/
39+
40+
# Flycheck
41+
flycheck_*.el
42+
43+
# server auth directory
44+
/server/
45+
46+
# projectiles files
47+
.projectile
48+
49+
# directory configuration
50+
.dir-locals.el
51+
52+
# network security
53+
/network-security.data
54+
55+
56+
### Haskell ###
57+
dist
58+
dist-*
59+
cabal-dev
60+
*.o
61+
*.hi
62+
*.chi
63+
*.chs.h
64+
*.dyn_o
65+
*.dyn_hi
66+
.hpc
67+
.hsenv
68+
.cabal-sandbox/
69+
cabal.sandbox.config
70+
*.prof
71+
*.aux
72+
*.hp
73+
*.eventlog
74+
.stack-work/
75+
cabal.project.local
76+
cabal.project.local~
77+
.HTF/
78+
.ghc.environment.*
79+
80+
### Intellij+iml ###
81+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
82+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
83+
84+
# User-specific stuff
85+
.idea/**/workspace.xml
86+
.idea/**/tasks.xml
87+
.idea/**/usage.statistics.xml
88+
.idea/**/dictionaries
89+
.idea/**/shelf
90+
91+
# Generated files
92+
.idea/**/contentModel.xml
93+
94+
# Sensitive or high-churn files
95+
.idea/**/dataSources/
96+
.idea/**/dataSources.ids
97+
.idea/**/dataSources.local.xml
98+
.idea/**/sqlDataSources.xml
99+
.idea/**/dynamic.xml
100+
.idea/**/uiDesigner.xml
101+
.idea/**/dbnavigator.xml
102+
103+
# Gradle
104+
.idea/**/gradle.xml
105+
.idea/**/libraries
106+
107+
# Gradle and Maven with auto-import
108+
# When using Gradle or Maven with auto-import, you should exclude module files,
109+
# since they will be recreated, and may cause churn. Uncomment if using
110+
# auto-import.
111+
# .idea/modules.xml
112+
# .idea/*.iml
113+
# .idea/modules
114+
115+
# CMake
116+
cmake-build-*/
117+
118+
# Nix
119+
result/
120+
121+
# Mongo Explorer plugin
122+
.idea/**/mongoSettings.xml
123+
124+
# File-based project format
125+
*.iws
126+
127+
# IntelliJ
128+
out/
129+
130+
# mpeltonen/sbt-idea plugin
131+
.idea_modules/
132+
133+
# JIRA plugin
134+
atlassian-ide-plugin.xml
135+
136+
# Cursive Clojure plugin
137+
.idea/replstate.xml
138+
139+
# Crashlytics plugin (for Android Studio and IntelliJ)
140+
com_crashlytics_export_strings.xml
141+
crashlytics.properties
142+
crashlytics-build.properties
143+
fabric.properties
144+
145+
# Editor-based Rest Client
146+
.idea/httpRequests
147+
148+
# Android studio 3.1+ serialized cache file
149+
.idea/caches/build_file_checksums.ser
150+
151+
### Intellij+iml Patch ###
152+
# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
153+
154+
*.iml
155+
modules.xml
156+
.idea/misc.xml
157+
*.ipr
158+
159+
### macOS ###
160+
# General
161+
.DS_Store
162+
.AppleDouble
163+
.LSOverride
164+
165+
# Icon must end with two \r
166+
Icon
167+
168+
# Thumbnails
169+
._*
170+
171+
# Files that might appear in the root of a volume
172+
.DocumentRevisions-V100
173+
.fseventsd
174+
.Spotlight-V100
175+
.TemporaryItems
176+
.Trashes
177+
.VolumeIcon.icns
178+
.com.apple.timemachine.donotpresent
179+
180+
# Directories potentially created on remote AFP share
181+
.AppleDB
182+
.AppleDesktop
183+
Network Trash Folder
184+
Temporary Items
185+
.apdisk
186+
187+
#!! ERROR: stack is undefined. Use list command to see defined gitignore types !!#
188+
189+
### Vim ###
190+
# Swap
191+
[._]*.s[a-v][a-z]
192+
[._]*.sw[a-p]
193+
[._]s[a-rt-v][a-z]
194+
[._]ss[a-gi-z]
195+
[._]sw[a-p]
196+
197+
# Session
198+
Session.vim
199+
200+
# Temporary
201+
.netrwhist
202+
# Auto-generated tag files
203+
tags
204+
# Persistent undo
205+
[._]*.un~
206+
207+
# End of https://www.gitignore.io/api/macOS,vim,Intellij+iml,emacs,haskell,cabal,stack

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Change log
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog][chg] and this project adheres to
6+
[Haskell's Package Versioning Policy][pvp]
7+
8+
9+
## `0.1.0` - 2021-01-19
10+
11+
### Added
12+
13+
- Initial release!
14+
15+
[chg]: http://keepachangelog.com
16+
[pvp]: http://pvp.haskell.org

LICENSE

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Copyright Nike, Inc. (c) 2018, Pact Inc 2021
2+
3+
All rights reserved.
4+
5+
Redistribution and use in source and binary forms, with or without
6+
modification, are permitted provided that the following conditions are met:
7+
8+
* Redistributions of source code must retain the above copyright
9+
notice, this list of conditions and the following disclaimer.
10+
11+
* Redistributions in binary form must reproduce the above
12+
copyright notice, this list of conditions and the following
13+
disclaimer in the documentation and/or other materials provided
14+
with the distribution.
15+
16+
* Neither the name of Author name here nor the names of other
17+
contributors may be used to endorse or promote products derived
18+
from this software without specific prior written permission.
19+
20+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)