Skip to content

Commit

Permalink
Diff api (PaddlePaddle#16024)
Browse files Browse the repository at this point in the history
  • Loading branch information
tianshuo78520a authored and luotao1 committed Mar 3, 2019
1 parent 26e3842 commit c6f94dd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/diff_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,10 @@
print(each_diff)

if error:
print(
'''If you modify/add/delete the API files, including code and comment, please follow these steps in order to pass the CI:
1. cd ${paddle_path}, compile paddle;
2. pip install build/python/dist/(build whl package);
3. run "python tools/print_signatures.py paddle.fluid, paddle.reader > paddle/fluid/API.spec"'''
)
sys.exit(1)

0 comments on commit c6f94dd

Please sign in to comment.