alexcouper / captainhook

Git hook scripts
BSD 3-Clause "New" or "Revised" License
54 stars 14 forks source link

Some way of running the checks on everything #28

Closed OddBloke closed 10 years ago

OddBloke commented 10 years ago

So that I can be sure that my CI jobs and my pre-commit hook are checking the same thing As a captainhook user I want to be able to run my captainhook checks on my entire codebase.

(If I write it as a story, it feels less like slacking)

OddBloke commented 10 years ago

git ls-tree --name-only --full-tree -r HEAD would get us the list of files.

alexcouper commented 10 years ago

This is somewhat easier to do now following #48.

I'm wondering where you'd want to run this from.

captainhook --pre-commit-checks

?

alexcouper commented 10 years ago

This has been resolved and will go out in 0.8.3