From ea7c6a22dada158ba55e884c88e93f1978c2d9d6 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Wed, 12 Aug 2020 13:19:59 +0300 Subject: [PATCH] Ignore vendor dir in prepare structure script --- prepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prepare.sh b/prepare.sh index 75af3e34..3594c726 100755 --- a/prepare.sh +++ b/prepare.sh @@ -12,7 +12,7 @@ API_PATH=$1 # MOVE FILES FROM API REPO cd $API_PATH -ARGS=$(find ./ -name '*.proto') +ARGS=$(find ./ -name '*.proto' -not -path './vendor/*') for file in $ARGS; do dir=$(dirname $file) cp -r $dir $API_GO_PATH