Skip to content

Commit

Permalink
chore: fix makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
hperl committed Feb 23, 2023
1 parent 4136a0b commit e588023
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand All @@ -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
Expand Down

0 comments on commit e588023

Please sign in to comment.