File tree Expand file tree Collapse file tree 2 files changed +44
-1
lines changed Expand file tree Collapse file tree 2 files changed +44
-1
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,11 @@ docker-tools:
8989 @$(call print, "Building tools docker image.")
9090 docker build -q -t chantools-tools $(TOOLS_DIR )
9191
92+ command-generator-build :
93+ @$(call print, "Building command generator.")
94+ cd doc/command-generator; npm install && npm run build
95+ mv doc/command-generator/dist/index.html doc/command-generator.html
96+
9297fmt : $(GOIMPORTS_BIN )
9398 @$(call print, "Fixing imports.")
9499 gosimports -w $(GOFILES_NOVENDOR )
@@ -99,7 +104,7 @@ lint: docker-tools
99104 @$(call print, "Linting source.")
100105 $(DOCKER_TOOLS ) golangci-lint run -v $(LINT_WORKERS )
101106
102- docs : install
107+ docs : install command-generator-build
103108 @$(call print, "Rendering docs.")
104109 chantools doc
105110
You can’t perform that action at this time.
0 commit comments