Skip to content

Commit 0711d46

Browse files
authored
Update Makefile
1 parent 9c7c2f7 commit 0711d46

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ OPENAPI_PATH := Submodule/github/rest-api-description/descriptions/api.github.
88
FILTERED_NAMES := $(shell yq -r '.tags[].name' $(OPENAPI_PATH))
99
SOURCE_DIRS := $(addprefix Sources/, $(FILTERED_NAMES))
1010
PACKAGE_PATHS := Package.swift
11+
# Fix: https://github.com/irgaly/setup-mint/pull/25
12+
MINT_BIN := $HOME/mint
1113

1214
# Helper
1315
.SILENT: commit
@@ -28,7 +30,7 @@ commit:
2830
%/Client.swift %/Types.swift: $(OPENAPI_PATH)
2931
@echo "\n\nFolder $(@D) running"
3032
@$(MAKE) "$(@D)/openapi-generator-config.yml"
31-
mint run apple/swift-openapi-generator generate \
33+
$(MINT_BIN) run apple/swift-openapi-generator generate \
3234
"$(OPENAPI_PATH)" \
3335
--config "$(@D)/openapi-generator-config.yml" \
3436
--output-directory "$(@D)";

0 commit comments

Comments
 (0)