Skip to content

Commit

Permalink
entrypoint: ensure implements tool is up to date
Browse files Browse the repository at this point in the history
When running things by hand it's nice to reuse the same build of
implements over and over, but for the casual contributor
who may need to run implements as part of adding a new API we want to
ensure the tool being run is up-to-date with the repo.
Cleaning the binary first is a quick and dirty way of getting there.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
  • Loading branch information
phlogistonjohn authored and mergify[bot] committed Nov 9, 2021
1 parent dfba5f5 commit a46d9cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ pre_all_tests() {
# Prepare Go code
go get -t -v ${BUILD_TAGS} ./...
diff -u <(echo -n) <(gofmt -d -s .)
make implements
make clean-implements implements

# Reset whole-module coverage file
echo "mode: count" > "cover.out"
Expand Down

0 comments on commit a46d9cb

Please sign in to comment.