Skip to content

Commit

Permalink
update_engine: prettify presubmit hooks
Browse files Browse the repository at this point in the history
We can name these, so it's clearer what hook is running when.

'cros' should also be on everyone's ${PATH}, so no need for the relative
paths.

BUG=none
TEST=presubmit

Change-Id: If900a293db7ebd775ffe15403df0a0f2b05dfd8c
  • Loading branch information
computersforpeace authored and Commit Bot committed Jul 10, 2019
1 parent 0ffa71f commit 53a42e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PRESUBMIT.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Hook Scripts]
hook0=../../../../chromite/bin/cros lint ${PRESUBMIT_FILES}
hook1=../../../platform2/common-mk/gnlint.py ${PRESUBMIT_FILES}
cros lint = cros lint ${PRESUBMIT_FILES}
gnlint = ../../../platform2/common-mk/gnlint.py ${PRESUBMIT_FILES}

[Hook Overrides]
clang_format_check: true
Expand Down

0 comments on commit 53a42e8

Please sign in to comment.