Added a task to the Makefile that updates the App Store Connect Open API specification document in the library target.

This commit is contained in:
2026-03-26 01:03:16 +01:00
parent d1761e8a83
commit d865af4fb2
2 changed files with 19 additions and 0 deletions
+11
View File
@@ -86,6 +86,17 @@ doc-preview: ## Previews the library documentation in Safari
--include-extended-types \
--enable-inherited-docs
# OPEN API SPECIFICATION
oas-download: ## Downloads the latest App Store Connect OpenAPI specification document
@mkdir -p $(OAS_DOWNLOAD_FOLDER)
@curl -fsSL \
"$(OAS_DOWNLOAD_URL)" \
-o "$(OAS_DOWNLOAD_INPUT)"
@unzip -q "$(OAS_DOWNLOAD_INPUT)" -d "$(OAS_DOWNLOAD_FOLDER)"
@mv "$(OAS_DOWNLOAD_FILE)" "$(OAS_DOWNLOAD_OUTPUT)"
@rm -rf "$(OAS_DOWNLOAD_FOLDER)"
# IDE
ide-xcode: ## Opens this package with Xcode