Skip to content

Commit

Permalink
Rename to mockery-v2
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario committed May 23, 2024
1 parent 79fc5a2 commit d25111b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boilerplate/flyte/golang_test_targets/download_tooling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ for tool in "${tools[@]}"; do
echo "Renaming mockery to mockery-fork"
mv $(go env GOPATH)/bin/mockery $(go env GOPATH)/bin/mockery-fork
fi
# If tool is named vektra/mockery/v2, we need to rename the binary to mockery-vektra
# If tool is named vektra/mockery/v2, we need to rename the binary to mockery-v2
if [[ $tool == "github.com/vektra/mockery/[email protected]" ]]; then
echo "Renaming mockery to mockery-vektra"
mv $(go env GOPATH)/bin/mockery $(go env GOPATH)/bin/mockery-vektra
echo "Renaming mockery to mockery-v2"
mv $(go env GOPATH)/bin/mockery $(go env GOPATH)/bin/mockery-v2
fi
done

Expand Down

0 comments on commit d25111b

Please sign in to comment.