Skip to content

Commit 30e9859

Browse files
committed
added stack build stuff
1 parent 5d0cf80 commit 30e9859

File tree

5 files changed

+37
-0
lines changed

5 files changed

+37
-0
lines changed

LICENSE

Whitespace-only changes.

aws-lambda-haskell.cabal

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
-- Initial aws-lambda-haskell.cabal generated by cabal init. For further
2+
-- documentation, see http://haskell.org/cabal/users-guide/
3+
4+
name: aws-lambda-haskell
5+
version: 0.1.0.0
6+
-- synopsis:
7+
-- description:
8+
-- license:
9+
license-file: LICENSE
10+
author: Arnaud Bailly
11+
maintainer: [email protected]
12+
-- copyright:
13+
-- category:
14+
build-type: Simple
15+
extra-source-files: README.md, README.md~
16+
cabal-version: >=1.10
17+
18+
executable aws-lambda-haskell
19+
main-is: main.hs
20+
-- other-modules:
21+
-- other-extensions:
22+
build-depends: base >=4.8 && <4.9
23+
-- hs-source-dirs:
24+
default-language: Haskell2010

main.hs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module Main where
2+
3+
main :: IO ()
4+
main = do
5+
input <- getLine
6+
putStrLn $ "got " ++ input

stack.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
resolver: ghc-7.10.3
2+
packages:
3+
- '.'

test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
var echo = require("./run.js");
2+
3+
echo.handle({'foo': "foo"},
4+
{'bar': 12});

0 commit comments

Comments
 (0)