Skip to content

Instantly share code, notes, and snippets.

@famasoon
Last active December 16, 2019 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save famasoon/b8160abab646ca9f15288ce76dfc3391 to your computer and use it in GitHub Desktop.
Save famasoon/b8160abab646ca9f15288ce76dfc3391 to your computer and use it in GitHub Desktop.
Makefile for compile golang and compress to zip binary for lambda
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