2020-09-17 08:35:16 +01:00
|
|
|
all: clean generate build
|
|
|
|
|
2020-09-02 23:04:12 +01:00
|
|
|
generate:
|
|
|
|
go get -u github.com/go-swagger/go-swagger/cmd/swagger
|
|
|
|
swagger generate client -f ../swagger.yaml -A passbook -t pkg/
|
|
|
|
|
|
|
|
run:
|
|
|
|
go run -v .
|
2020-09-17 08:35:16 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
go mod tidy
|
|
|
|
go clean .
|
|
|
|
|
|
|
|
build:
|
|
|
|
go build -v .
|