diff --git a/Makefile b/Makefile index 56c623ad25..e6102a8c60 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,6 @@ UISOURCES := $(shell find ui -type f -not \( -path ui/build/\* -o -path ui/node_ # All precanned dashboards PRECANNED := $(shell find chronograf/canned -name '*.json') - # List of binary cmds to build CMDS := \ bin/$(GOOS)/influx \ diff --git a/http/Makefile b/http/Makefile index 1fc468a2b7..5aeb99f057 100644 --- a/http/Makefile +++ b/http/Makefile @@ -19,7 +19,9 @@ clean: $(SUBDIRS) GO_RUN := env GO111MODULE=on go run +ifndef SKIP_CLIENT ../ui/src/api/api.ts: $(SOURCES) openapi-generator generate -g typescript-axios -o ../ui/src/api -i cur_swagger.yml +endif .PHONY: all clean $(SUBDIRS)