nagarian / dotnethooks Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi, I am really interested in this kind of tools. I have previously used husky and I'm really glad to find a similar tool for DotNet
So, I created a solution to test it out, added the nuget :
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>test_git_hook</RootNamespace>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="DotnetHooks" Version="1.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>
but .git/config file is not getting modified :
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
Running dotnet restore is not triggering it either
project.assets.json file properly shows that the nuget & target is installed :
{
"version": 3,
"targets": {
".NETCoreApp,Version=v3.1": {
"DotnetHooks/1.0.0": {
"type": "package",
"build": {
"build/DotnetHooks.props": {},
"build/DotnetHooks.targets": {}
}
}
}
},
"libraries": {
"DotnetHooks/1.0.0": {
"sha512": "SuGtt9roBtIYFWmE+hEui60mHgQx60tZAPPxuySJnRWdO6CPvO/synawya7fAdYqRYv47Aeoepic11tVDTDlBA==",
"type": "package",
"path": "dotnethooks/1.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"build/DotnetHooks.props",
"build/DotnetHooks.targets",
"dotnethooks.1.0.0.nupkg.sha512",
"dotnethooks.nuspec"
]
}
},
"projectFileDependencyGroups": {
".NETCoreApp,Version=v3.1": [
"DotnetHooks >= 1.0.0"
]
},
If you have time to provide some assistance, that would be great ๐
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.