Skip to content

Commit

Permalink
[PROTOC] Exclude ./build directory
Browse files Browse the repository at this point in the history
There's no reason to try to build anything from
within our temporary build location, and this will
because more heavily used later in the series.
Therefore, let's prepare for this eventuality
by harmlessly excluding it today.

Change-Id: I11d82a738c7ca2942c18ba7169c6ce2309091753
Signed-off-by: Gregory Haskins <gregory.haskins@gmail.com>
  • Loading branch information
ghaskins committed Nov 10, 2016
1 parent ae68cbd commit ac66f24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/compile_protos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ROOTLESS_PROTO_FILES="$(find $PWD \
$(for dir in $PROTO_ROOT_DIRS ; do echo "-path $dir -prune -o " ; done) \
-path $PWD/vendor -prune -o \
-path $PWD/gotools -prune -o \
-path $PWD/build -prune -o \
-name "*.proto" -exec readlink -f {} \;)"
ROOTLESS_PROTO_DIRS="$(dirname $ROOTLESS_PROTO_FILES | sort | uniq)"

Expand Down

0 comments on commit ac66f24

Please sign in to comment.