Introduce .pre-commit-hooks.yaml as a replacement for hooks.yaml

This commit is contained in:
Anthony Sottile 2017-01-21 13:07:37 -08:00
parent b90a598fac
commit b9e5184ebd
32 changed files with 107 additions and 21 deletions

View file

@ -1,3 +1,3 @@
FROM cogniteev/echo
CMD ["echo", "This is overwritten by the hooks.yaml 'entry'"]
CMD ["echo", "This is overwritten by the .pre-commit-hooks.yaml 'entry'"]

View file

@ -0,0 +1,5 @@
- id: system-hook-with-spaces
name: System hook with spaces
entry: bash -c 'echo "Hello World"'
language: system
files: \.sh$