Skip to content

Commit

Permalink
Make gogen dependency of bazel target
Browse files Browse the repository at this point in the history
  • Loading branch information
matzf committed Aug 22, 2019
1 parent 33daaea commit a60db32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ GAZELLE_MODE?=fix

SRC_DIRS = c/lib/scion c/lib/filter c/dispatcher

all: tags clibs dispatcher gogen bazel
all: tags clibs dispatcher bazel

clean:
$(foreach var,$(SRC_DIRS),$(MAKE) -C $(var) clean || exit 1;)
Expand All @@ -27,7 +27,7 @@ vendor:
if [ -e go/vendor ]; then rm -r go/vendor; fi
bzlcompat -vendorBase=go

bazel: vendor bazel_bin_clean
bazel: gogen vendor bazel_bin_clean
bazel build //:scion //:scion-ci --workspace_status_command=./tools/bazel-build-env
tar -kxf bazel-bin/scion.tar -C bin
tar -kxf bazel-bin/scion-ci.tar -C bin
Expand Down

0 comments on commit a60db32

Please sign in to comment.