amingolmahalle / HttpClientToCurlGenerator

The HttpClientToCurl is a NuGet package for generating curl script of HttpClient in .NET ( C# | CSharp | Dotnet ) supported features: Post, Get, Put, and Delete. content types: application/json, text/xml, application/x-www-form-urlencoded
https://www.nuget.org/packages/HttpClientToCurl
MIT License
51 stars 11 forks source link

Update pre-commit hook to ignore build when cs files didn't change. #36

Closed naeemaei closed 3 months ago

naeemaei commented 3 months ago

When I create any local commit, the pre-commit hook executes to build the project. But in some commits, I didn't change any C# files so it doesn't require rebuilding the project. In this change, I ignored the pre-commit build when C# files didn't change.