commit | 32768b878248216d1499790a003ad4ce57a26a79 | [log] [tgz] |
---|---|---|
author | Ed Tanous <edtanous@google.com> | Wed Jan 05 14:14:06 2022 -0800 |
committer | Ed Tanous <edtanous@google.com> | Wed Jan 05 15:10:26 2022 -0800 |
tree | 548b83c5e4ae6c42d4fee6b7d6aad1ebeb73c73f | |
parent | 8ac8e0936b8ab6cbb96aa2c3a7304ef86bba48b6 [diff] |
Check the result of formatting the code The old format-code.sh script used to run git diff to determine if any files had been reformatted in the commit. The "new" way should do the same. Tested: Ran a build on entity-manager, which includes a custom format-code script, and saw the build pass. Backed up to the commit prior, which included formatting violations, reran and saw the build fail. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I3697da5dbbe78bb2241bb66d2583b2c9c2f9e753
Build script for CI jobs in Jenkins.