Last active
December 16, 2019 14:46
-
-
Save famasoon/b8160abab646ca9f15288ce76dfc3391 to your computer and use it in GitHub Desktop.
Makefile for compile golang and compress to zip binary for lambda
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build: main.go | |
GOOS=linux GOARCH=amd64 go build -o hello | |
zip: build | |
zip handler.zip ./hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment