UNPKG

serverless

Version:

Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more

17 lines (12 loc) 338 B
.PHONY: build clean deploy gomodgen build: gomodgen export GO111MODULE=on env GOOS=linux go build -ldflags="-s -w" -o bin/hello hello/main.go env GOOS=linux go build -ldflags="-s -w" -o bin/world world/main.go clean: rm -rf ./bin ./vendor go.sum deploy: clean build sls deploy --verbose gomodgen: chmod u+x gomod.sh ./gomod.sh