Skip to content

Instantly share code, notes, and snippets.

@tjovicic
Created January 20, 2020 06:32
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 tjovicic/c0b1dc5d14a22d1c2b38eac58f3d3d98 to your computer and use it in GitHub Desktop.
Save tjovicic/c0b1dc5d14a22d1c2b38eac58f3d3d98 to your computer and use it in GitHub Desktop.
import: dep
go build -ldflags="-s -w" -o bin/import cmd/import/main.go
.PHONY:
clean
dep:
dep ensure -v
format:
go fmt ./...
test:
go test -cover ./...
clean:
rm -rf ./bin
.PHONY: deploy
deploy: clean format test build
sls deploy --verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment