From e58802335f967e04064011666a6b3c7fc8c598fe Mon Sep 17 00:00:00 2001 From: hperl <34397+hperl@users.noreply.github.com> Date: Thu, 23 Feb 2023 15:51:35 +0100 Subject: [PATCH] chore: fix makefile --- Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 6ec24765d..506e5694f 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ authors: # updates the AUTHORS file curl https://raw.githubusercontent.com/ory/ci/master/authors/authors.sh | env PRODUCT="Ory Keto" bash .PHONY: format -format: .bin/ory .bin/goimports node_modules +format: .bin/buf .bin/ory .bin/goimports node_modules .bin/ory dev headers copyright --type=open-source --exclude=.bin --exclude=internal/httpclient --exclude=proto .bin/goimports -w -local github.com/ory/keto *.go internal cmd contrib ketoctx ketoapi embedx npm exec -- prettier --write . @@ -62,12 +62,6 @@ docker: .PHONY: sdk sdk: buf .bin/swagger .bin/ory node_modules rm -rf internal/httpclient - # cp proto/openapiv2/gateway.swagger.json spec/swagger.json - # swagger generate spec -m -o spec/swagger.json \ - # -c github.com/ory/keto \ - # -c github.com/ory/x/healthx \ - # -x internal/httpclient \ - # -x internal/e2e .bin/ory dev swagger sanitize ./spec/api.swagger.json sed -i -f ./.schema/openapi/patches/replacements.sed ./spec/api.swagger.json swagger validate ./spec/api.swagger.json