Files
tildes/git_hooks/pre-commit
Deimos 79072f76d8 Rename invoke tasks to standardize format
I think this is going to be a better way to name invoke tasks. The
previous naming where a verb was often first made it much harder for
anyone to figure out the name of a task that affects a certain thing
without always looking through the entire list.

For example, if someone is looking for a task that affects the web
server, it's much easier to find web-server-reload than
reload-web-server.

The changes were:

- check-code-style -> code-style-check
- reload-web-server -> web-server-reload
- renew-tls-certificate -> tls-certificate-renew
- type-checking -> type-check
- update-pip-requirements -> pip-requirements-update
2020-11-03 18:09:36 -07:00

7 lines
185 B
Bash
Executable File

#!/bin/sh
#
# Pre-commit hook script that ensures type-checking, tests, and fast style checks pass
vagrant ssh -c ". activate \
&& invoke type-check test --quiet code-style-check"