Skip to content

Commit f453c46

Browse files
committed
Makefile
1 parent 248aff3 commit f453c46

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

gen-resourcesdocs/Makefile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
VERSION ?= v1.20
2+
3+
all: kwebsite
4+
5+
clean:
6+
rm -rf kwebsite/content/en/docs/* kwebsite/public
7+
8+
kwebsite: clean
9+
mkdir -p kwebsite/content/en/docs
10+
go run cmd/main.go kwebsite --config-dir config/$(VERSION)/ --file api/$(VERSION)/swagger.json --output-dir kwebsite/content/en/docs --templates ./templates

0 commit comments

Comments
 (0)