Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
remove gen-docs
Browse files Browse the repository at this point in the history
Change-Id: I7985b7ccce643854502bb666a5f2fba4ca7bc8f8
  • Loading branch information
theganyo committed Apr 8, 2019
1 parent 59d8389 commit 3cebfd4
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions bin/codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,18 @@ popd
echo "Done."
fi

# istio-mixer-adapter edit
ISTIO_ROOT="${GOPATH-$HOME/go}/src/istio.io/istio"
#if [ ! -e $ROOT/bin/$GENDOCS-$GENDOCS_VERSION ]; then
if [ ! -e $ISTIO_ROOT/bin/$GENDOCS-$GENDOCS_VERSION ]; then
echo "Building protoc-gen-docs..."
#pushd $ROOT/$GENDOCS_PATH
#go build --pkgdir $GENDOCS_PATH -o $ROOT/bin/$GENDOCS-$GENDOCS_VERSION
pushd $ISTIO_ROOT/$GENDOCS_PATH
go build --pkgdir $GENDOCS_PATH -o $ISTIO_ROOT/bin/$GENDOCS-$GENDOCS_VERSION
popd
echo "Done."
fi
## istio-mixer-adapter edit
#ISTIO_ROOT="${GOPATH-$HOME/go}/src/istio.io/istio"
##if [ ! -e $ROOT/bin/$GENDOCS-$GENDOCS_VERSION ]; then
#if [ ! -e $ISTIO_ROOT/bin/$GENDOCS-$GENDOCS_VERSION ]; then
#echo "Building protoc-gen-docs..."
##pushd $ROOT/$GENDOCS_PATH
##go build --pkgdir $GENDOCS_PATH -o $ROOT/bin/$GENDOCS-$GENDOCS_VERSION
#pushd $ISTIO_ROOT/$GENDOCS_PATH
#go build --pkgdir $GENDOCS_PATH -o $ISTIO_ROOT/bin/$GENDOCS-$GENDOCS_VERSION
#popd
#echo "Done."
#fi

PROTOC_MIN_VERSION=protoc-min-version
MIN_VERSION_PATH=$ROOT/$GOGOPROTO_PATH/$PROTOC_MIN_VERSION
Expand Down

0 comments on commit 3cebfd4

Please sign in to comment.