Skip to content
Merged
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test:
go test ./...
build:
export GO111MODULE=on
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

deploy: build
sls deploy --verbose
Expand Down
9 changes: 5 additions & 4 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ provider:
region: ap-northeast-1

package:
exclude:
- ./**
# exclude:
# - ./**
include:
- ./bin/**
# - ./bin/**
- ./**

plugins:
- serverless-offline
Expand All @@ -22,7 +23,7 @@ custom:

functions:
cmd:
handler: bin/cmd
handler: bootstrap
events:
- http:
path: callback
Expand Down
Loading