Skip to content

Commit

Permalink
feat: makes Makefile redocly update .PHONY, updates the redocly lates…
Browse files Browse the repository at this point in the history
…t bundle url and executes an update
  • Loading branch information
hohmannr committed May 1, 2024
1 parent 101384b commit 7f6028b
Show file tree
Hide file tree
Showing 2 changed files with 1,828 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.PHONY: all lint test deps

REDOC_PATH=assets/redoc.standalone.js
REDOC_URL=https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js
REDOC_URL=https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js

.PHONY: all lint test deps $(REDOC_PATH)

all: $(REDOC_PATH) lint test

Expand All @@ -17,4 +17,4 @@ deps:
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest

$(REDOC_PATH):
curl -sL -o $(REDOC_PATH) $(REDOC_URL)
curl -sL -o $(REDOC_PATH) $(REDOC_URL)
1,825 changes: 1,824 additions & 1 deletion assets/redoc.standalone.js

Large diffs are not rendered by default.

0 comments on commit 7f6028b

Please sign in to comment.