Ignore vendor dir in prepare structure script

This commit is contained in:
Alex Vanin 2020-08-12 13:19:59 +03:00 committed by Stanislav Bogatyrev
parent fabdd78d63
commit ea7c6a22da

View file

@ -12,7 +12,7 @@ API_PATH=$1
# MOVE FILES FROM API REPO # MOVE FILES FROM API REPO
cd $API_PATH cd $API_PATH
ARGS=$(find ./ -name '*.proto') ARGS=$(find ./ -name '*.proto' -not -path './vendor/*')
for file in $ARGS; do for file in $ARGS; do
dir=$(dirname $file) dir=$(dirname $file)
cp -r $dir $API_GO_PATH cp -r $dir $API_GO_PATH