Skip to content

Commit bc5e166

Browse files
committed
liaison, build: fix build after make clean (istio#366)
This patch fixes build after make clean, that is by making sure the javascript client libs are generated. Signed-off-by: Dhi Aurrahman <[email protected]> Mirrored from https://github.com/tetrateio/tetrate @ 05b375ddc35d2bc255130ed0449e09095cdd0b45
1 parent e0aed40 commit bc5e166

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

liaison/v1alpha1/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ DESCRIPTOR := liaison.proto-descriptor
1919
ENVOYFILTER := envoyfilter.yaml
2020

2121
ALL_GENERATED := $(ALL_GO_PROTOS) $(ALL_GO_VALIDATE_PROTOS) $(DESCRIPTOR) $(ENVOYFILTER) \
22-
$(ALL_CLIENT_PROTOS)
22+
$(ALL_CLIENT_PROTOS) ./google ./validate node_modules
2323

2424
GOPATH := $(shell go env GOPATH)
2525
GOSRCDIR := $(GOPATH)/src
@@ -87,7 +87,7 @@ node_modules: touch
8787
@yarn
8888

8989
.PHONY: js touch
90-
js: node_modules touch $(ALL_JS_PROTOS) $(ALL_TS_PROTOS)
90+
js: node_modules $(ALL_JS_PROTOS) $(ALL_TS_PROTOS)
9191

9292
touch:
9393
mkdir -p ./google/api
@@ -96,5 +96,5 @@ touch:
9696
touch ./validate/validate_pb.js
9797

9898
clean:
99-
rm -fr $(ALL_GENERATED) ./google ./validate
99+
rm -fr $(ALL_GENERATED)
100100
@echo "cleaned $(ALL_GENERATED)"

0 commit comments

Comments
 (0)