From d356d335bb8aa5df037b05c40d4014ccb1e73018 Mon Sep 17 00:00:00 2001 From: Luke Hagar Date: Tue, 23 Apr 2024 13:56:31 -0500 Subject: [PATCH] Delete Makefile --- Makefile | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index 2ea64e6..0000000 --- a/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -.PHONY: * - -all: speakeasy - - -speakeasy: check-speakeasy - speakeasy generate sdk --lang ruby -o . -s ./openapi.yaml - -speakeasy-validate: check-speakeasy - speakeasy validate openapi -s ./openapi.yaml - -openapi: - curl https://raw.githubusercontent.com/LukeHagar/plex-api-spec/main/plex-media-server-spec-dereferenced.yaml > ./openapi.yaml - -# This will replace the generation source in your workflow file with your local schema path -generate-from-local: - @if ! which sed >/dev/null; then \ - echo "sed is not installed. Please install it using the following command:"; \ - echo "For Ubuntu/Debian: apt-get install sed"; \ - echo "For macOS: sed is pre-installed"; \ - exit 1; \ - fi - @sed -i '' '/openapi_docs: |/{n;s|-.*|- ./openapi.yaml|;}' ./.github/workflows/speakeasy_sdk_generation.yml - -check-speakeasy: - @command -v speakeasy >/dev/null 2>&1 || { echo >&2 "speakeasy CLI is not installed. Please install before continuing."; exit 1; }