2018-10-13 22:13:54 +09:00

12 lines
238 B
Makefile

.PHONY: build clean deploy
build:
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
deploy: clean build
sls deploy --verbose