Skip to content

Commit

Permalink
Rsync only client and apis folders.
Browse files Browse the repository at this point in the history
Signed-off-by: Vittorio Cozzolino <[email protected]>
  • Loading branch information
vcozzolino committed Oct 25, 2021
1 parent 86e32f2 commit 87774b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/update-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if ! [[ "${GOPATH}/src/${SEDNA_GO_PACKAGE}/" -ef "${SEDNA_ROOT}/" ]]; then
# Copy generated code into SEDNA_ROOT
echo "Warning: ${SEDNA_ROOT} not included in $GOPATH which is required by code-gen"
echo "Moving generated code from ${GOPATH}/src/${SEDNA_GO_PACKAGE}/pkg/ to ${SEDNA_ROOT}/"
rsync -a ${GOPATH}/src/${SEDNA_GO_PACKAGE}/pkg ${SEDNA_ROOT}/
rsync -a ${GOPATH}/src/${SEDNA_GO_PACKAGE}/pkg/{client, apis} ${SEDNA_ROOT}/pkg
if [ $? -eq 0 ]; then
echo "Copy successful!"
rm -rf ${GOPATH}/src/${SEDNA_GO_PACKAGE}/pkg/*
Expand Down

0 comments on commit 87774b5

Please sign in to comment.