Ignore vendor dir in prepare structure script
This commit is contained in:
parent
fabdd78d63
commit
ea7c6a22da
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue