mirror of
https://gitlab.com/tildes/tildes.git
synced 2026-04-16 06:18:34 +02:00
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
7 lines
185 B
Bash
Executable File
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"
|