2024-10-05 14:30:54 +00:00
|
|
|
tag = latest
|
|
|
|
|
2024-08-16 11:10:21 +00:00
|
|
|
gen:
|
2024-12-30 15:04:26 +00:00
|
|
|
@protoc --proto_path=proto --go_opt=paths=source_relative \
|
|
|
|
--go_out=proto --go-grpc_out=proto --grpc-gateway_out=proto \
|
|
|
|
proto/user/v1/user.proto
|
|
|
|
gen-openapi:
|
|
|
|
@protoc --proto_path=proto --openapi_out=proto/user/v1 \
|
|
|
|
proto/user/v1/user.proto
|
2024-08-14 10:36:43 +00:00
|
|
|
dev:
|
2024-08-16 11:10:21 +00:00
|
|
|
@make gen
|
2024-12-30 15:04:26 +00:00
|
|
|
@go run cmd/ms-auth/main.go
|
|
|
|
proxy:
|
|
|
|
@make gen
|
|
|
|
@go run cmd/ms-auth-proxy/main.go
|
2024-08-14 10:36:43 +00:00
|
|
|
build:
|
2024-08-16 11:10:21 +00:00
|
|
|
@make gen
|
2024-10-05 14:30:54 +00:00
|
|
|
@docker build . -t ms-auth:${tag}
|
|
|
|
@#docker push ms-auth:${tag}
|