update-all-projects.sh: update hooks first
commit44d4d04297bc07815d60aa9fd1055c57bf413ec1
authorKyle J. McKay <mackyle@gmail.com>
Wed, 29 Nov 2017 22:02:32 +0000 (29 14:02 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 29 Nov 2017 22:02:32 +0000 (29 14:02 -0800)
tree961503d8542ed165562244d5428ac2564f77581c
parent931aebbebbc2d580444002b81cde4d454a8562cd
update-all-projects.sh: update hooks first

The update-all-config process will always be much slower than the
update-all-hooks process since it needs to look at a lot more things
to do the update.

On the other hand, it's probably most important to get the hooks
updated right away if there's been an update to Girocco installed
so that there's no mismatch going on.

It's much more likely that a problem would be caused by an out-of-date
hook than some out-of-date config somewhere (that wasn't already
previously a problem).

For this reason run update-all-hooks first and then run update-all-config
so that maintainers are not forced to first run update-all-hooks
separately themselves to get the hooks updated as soon as possible.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
toolbox/update-all-projects.sh