Skip to content

Commit 4f1f9c3

Browse files
authored
Merge pull request #23 from moneyforward/ichiki-mfw-patch-2
Update Makefile
2 parents f00015b + e25c358 commit 4f1f9c3

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ test:
3434
go test ./...
3535
build:
3636
export GO111MODULE=on
37-
env GOARCH=amd64 GOOS=linux go build -ldflags="-s -w" -o bin/cmd app/cmd/main.go
37+
env GOARCH=amd64 GOOS=linux go build -ldflags="-s -w" -o bootstrap app/cmd/main.go
3838

3939
deploy: build
4040
sls deploy --verbose

serverless.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ provider:
66
region: ap-northeast-1
77

88
package:
9-
exclude:
10-
- ./**
9+
# exclude:
10+
# - ./**
1111
include:
12-
- ./bin/**
12+
# - ./bin/**
13+
- ./**
1314

1415
plugins:
1516
- serverless-offline
@@ -22,7 +23,7 @@ custom:
2223

2324
functions:
2425
cmd:
25-
handler: bin/cmd
26+
handler: bootstrap
2627
events:
2728
- http:
2829
path: callback

0 commit comments

Comments
 (0)