Closed jish closed 10 years ago
We used to look for a local check script in config/pre-commit.rb. All of the dashes generally come from Git's usage of the pre-commit hook.
config/pre-commit.rb
pre-commit
However, not everyone uses dashes in their filenames. The local check will now look for (and prefer config/pre_commit.rb over config/pre-commit.rb)
config/pre_commit.rb
:+1: do we rename our gem internal structure too, I assume the name can/has to stay for git - and for sync with the binary name, but our internal lib/ layout can follow ruby rules
lib/
We used to look for a local check script in
config/pre-commit.rb
. All of the dashes generally come from Git's usage of thepre-commit
hook.However, not everyone uses dashes in their filenames. The local check will now look for (and prefer
config/pre_commit.rb
overconfig/pre-commit.rb
)182