Skip to content

Commit

Permalink
Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
feloy committed Dec 2, 2020
1 parent 248aff3 commit f453c46
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions gen-resourcesdocs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
VERSION ?= v1.20

all: kwebsite

clean:
rm -rf kwebsite/content/en/docs/* kwebsite/public

kwebsite: clean
mkdir -p kwebsite/content/en/docs
go run cmd/main.go kwebsite --config-dir config/$(VERSION)/ --file api/$(VERSION)/swagger.json --output-dir kwebsite/content/en/docs --templates ./templates

0 comments on commit f453c46

Please sign in to comment.