summaryrefslogtreecommitdiffstats
path: root/PREUPLOAD.cfg
Commit message (Collapse)AuthorAgeFilesLines
* Point to the new checkstyle location for PREUPLOAD hook.Aurimas Liutikas2016-12-151-1/+1
| | | | | | | | This change depends on r.android.com/314437 Bug: 33666900 Test: None Change-Id: I6ba827da3e09f0bf8e180bcc4ccb72f178856d32
* meta: add pre-upload configmukesh agrawal2016-09-191-0/+7
In the interest of code health, we want to run checkstyle for all of our CLs. Add checkstyle to the pre-upload config for our project, so that this happens automatically. While there: also require every CL in our project to have a BUG line. Bug: 28291425 Test: manual Manual test: 1. Tried "repo upload" when this commit message had "BUG=" and "TEST=" instead of "Bug:", and "Test:". Observed that the pre-upload check flagged both errors. 2. Tried "repo upload" with another CL, which added a public method, but no Javadoc for that method. Observed that the pre-upload check reported style violations. 3. Tried "repo upload" with the CL from #2 fixed, so that the CL was stylistically acceptable. Observed that the pre-upload check reported no problems. Change-Id: I0be91aec4c01076eb57cad90f93f39f61833ef07