Skip to content

Commit

Permalink
Merge pull request #9639 from jordanlewis/fast-go-generate
Browse files Browse the repository at this point in the history
build: speed up go generate: don't run ui tests
  • Loading branch information
jordanlewis authored Sep 30, 2016
2 parents 0796fae + 7d62eab commit 48a50f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ui/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ GOBINDATA_TARGET = embedded.go
.PHONY: all
all: lint test $(GOBINDATA_TARGET)

# Running `go generate` will call this target. Update this if you add new
# generated files.
.PHONY: generate
generate: $(GOBINDATA_TARGET)

# TODO(tamird): is there a way to not repeat this here? It's already in protobuf.mk
app/js/protos.js generated/protos.json generated/protos.d.ts: $(addprefix $(REPO_ROOT)/, $(sort $(shell cd $(REPO_ROOT) && git ls-files --exclude-standard --cached --others -- '*.proto')))
$(MAKE) -C $(ORG_ROOT) -f cockroach/build/protobuf.mk
Expand Down
2 changes: 1 addition & 1 deletion ui/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
// stylesheets.
package ui

//go:generate make
//go:generate make generate

0 comments on commit 48a50f0

Please sign in to comment.