From c6f94dd65c2faaf0b239fc7bc79a68c50dcdbb4b Mon Sep 17 00:00:00 2001 From: tianshuo78520a <707759223@qq.com> Date: Sun, 3 Mar 2019 14:35:29 +0800 Subject: [PATCH] Diff api (#16024) --- tools/diff_api.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/diff_api.py b/tools/diff_api.py index 97c739ed2a..ec51711d68 100644 --- a/tools/diff_api.py +++ b/tools/diff_api.py @@ -26,4 +26,10 @@ for each_diff in result: 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) -- GitLab