evilmartians / lefthook

Fast and powerful Git hooks manager for any type of projects.
MIT License
4.84k stars 212 forks source link

C# / Visual Studio example #174

Open bbodenmiller opened 3 years ago

bbodenmiller commented 3 years ago

Would be nice if there was a C# example using Visual Studio.

joshtune commented 3 years ago

following

DmitryTsepelev commented 3 years ago

Hi! Lefthook works with Git projects in any language, what do you mean by "C# example"?

bbodenmiller commented 3 years ago

With Node you can install lefthook as a dev dependency. C# doesn't have that concept - someone could clone the repo and work on the project without ever ensuring lefthook was run. One potential workaround is requiring lefthook as part of VS project pre-build step.