We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f00015b + e25c358 commit 4f1f9c3Copy full SHA for 4f1f9c3
Makefile
@@ -34,7 +34,7 @@ test:
34
go test ./...
35
build:
36
export GO111MODULE=on
37
- env GOARCH=amd64 GOOS=linux go build -ldflags="-s -w" -o bin/cmd app/cmd/main.go
+ env GOARCH=amd64 GOOS=linux go build -ldflags="-s -w" -o bootstrap app/cmd/main.go
38
39
deploy: build
40
sls deploy --verbose
serverless.yml
@@ -6,10 +6,11 @@ provider:
6
region: ap-northeast-1
7
8
package:
9
- exclude:
10
- - ./**
+ # exclude:
+ # - ./**
11
include:
12
- - ./bin/**
+ # - ./bin/**
13
+ - ./**
14
15
plugins:
16
- serverless-offline
@@ -22,7 +23,7 @@ custom:
22
23
24
functions:
25
cmd:
- handler: bin/cmd
26
+ handler: bootstrap
27
events:
28
- http:
29
path: callback
0 commit comments