Skip to content
Snippets Groups Projects
Unverified Commit bd9b4fb6 authored by Jean de Klerk's avatar Jean de Klerk Committed by GitHub
Browse files

apidiff only fails on incompatible changes (#127)

parent a1fde740
No related branches found
No related tags found
No related merge requests found
......@@ -34,8 +34,8 @@ for dir in $V1_DIRS $V1_SUBDIRS; do
# TODO(deklerk) there's probably a nicer way to do this that doesn't require
# two invocations
if ! apidiff /tmp/pkg.master $pkg | (! read); then
apidiff /tmp/pkg.master $pkg
if ! apidiff -incompatible /tmp/pkg.master $pkg | (! read); then
apidiff -incompatible /tmp/pkg.master $pkg
exit 1
fi
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment