We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0f6b308 + e9afa23 commit d5aeb5dCopy full SHA for d5aeb5d
1 file changed
Makefile
@@ -9,13 +9,14 @@ $(BIN_DIR):
9
10
# Local binary paths
11
OAPI_CODEGEN ?= $(BIN_DIR)/oapi-codegen
12
+OAPI_CODEGEN_VERSION ?= v2.5.1
13
AIR ?= $(BIN_DIR)/air
14
WIRE ?= $(BIN_DIR)/wire
15
XCADDY ?= $(BIN_DIR)/xcaddy
16
17
# Install oapi-codegen (pinned to match committed generated code)
18
$(OAPI_CODEGEN): | $(BIN_DIR)
- GOBIN=$(BIN_DIR) go install github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.5.1
19
+ GOBIN=$(BIN_DIR) go install github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@$(OAPI_CODEGEN_VERSION)
20
21
# Install air for hot reload
22
$(AIR): | $(BIN_DIR)
0 commit comments