mirror of
https://github.com/mjl-/mox.git
synced 2024-12-27 08:53:48 +03:00
don't fail to generate apidiff when packages are introduced
This commit is contained in:
parent
4b459af4a8
commit
e585a4d180
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@ echo "Below are the incompatible changes between $prevversion and next, per pack
|
||||||
echo
|
echo
|
||||||
) >>apidiff/next.txt
|
) >>apidiff/next.txt
|
||||||
for p in $(cat apidiff/packages.txt); do
|
for p in $(cat apidiff/packages.txt); do
|
||||||
|
if ! test -d tmp/mox-$prevversion/$p; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
(cd tmp/mox-$prevversion && apidiff -w ../apidiff/$prevversion/$p.api ./$p)
|
(cd tmp/mox-$prevversion && apidiff -w ../apidiff/$prevversion/$p.api ./$p)
|
||||||
apidiff -w tmp/apidiff/next/$p.api ./$p
|
apidiff -w tmp/apidiff/next/$p.api ./$p
|
||||||
(
|
(
|
||||||
|
|
Loading…
Reference in a new issue