Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (15 sloc) 476 Bytes
.PHONY: deps clean build
export GO111MODULE=on
BINARY_NAME=handler
BUCKET_NAME=serialized-sam-deploy
all: deps build
build:
cd code && GOOS=linux GOARCH=amd64 go build -o $(BINARY_NAME) cmd/smarter_sensibo/main.go
deps:
cd code && go get -u ./...
clean:
rm -rf ./code/handler
package:
sam package --output-template-file packaged.yaml --s3-bucket $(BUCKET_NAME)
deploy:
sam deploy --template-file packaged.yaml --stack-name sensibo-app --capabilities CAPABILITY_IAM
You can’t perform that action at this time.