File tree Expand file tree Collapse file tree 4 files changed +42
-4
lines changed
Expand file tree Collapse file tree 4 files changed +42
-4
lines changed Original file line number Diff line number Diff line change 66 "version" : " 0.30.6" ,
77 "commands" : [" dotnet-csharpier" ],
88 "rollForward" : false
9+ },
10+ "husky" : {
11+ "version" : " 0.7.2" ,
12+ "commands" : [" husky" ],
13+ "rollForward" : false
914 }
1015 }
1116}
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ . " $( dirname " $0 " ) /_/husky.sh"
3+
4+ # # husky task runner examples -------------------
5+ # # Note : for local installation use 'dotnet' prefix. e.g. 'dotnet husky'
6+
7+ # # run all tasks
8+ # husky run
9+
10+ # ## run all tasks with group: 'group-name'
11+ # husky run --group group-name
12+
13+ # # run task with name: 'task-name'
14+ # husky run --name task-name
15+
16+ # # pass hook arguments to task
17+ # husky run --args "$1" "$2"
18+
19+ # # or put your custom commands -------------------
20+ # echo 'Husky.Net is awesome!'
21+
22+ dotnet husky run
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://alirezanet.github.io/Husky.Net/schema.json" ,
3+ "tasks" : [
4+ {
5+ "name" : " Run csharpier" ,
6+ "command" : " dotnet" ,
7+ "args" : [" csharpier" , " ${staged}" ],
8+ "include" : [" **/*.cs" ]
9+ }
10+ ]
11+ }
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
2-
32 <PropertyGroup >
43 <TargetFramework >net8.0</TargetFramework >
54 <ImplicitUsings >enable</ImplicitUsings >
2019 <AssemblyName >Mimo.AppStoreServerLibrary</AssemblyName >
2120 <RootNamespace >Mimo.AppStoreServerLibrary</RootNamespace >
2221 </PropertyGroup >
23-
2422 <ItemGroup >
2523 <PackageReference Include =" Microsoft.IdentityModel.JsonWebTokens" Version =" 8.0.1" />
2624 <PackageReference Include =" Microsoft.IdentityModel.Tokens" Version =" 8.0.1" />
2725 </ItemGroup >
28-
2926 <ItemGroup >
3027 <None Include =" ..\README.md" Pack =" true" PackagePath =" \" />
3128 </ItemGroup >
32-
29+ <Target Name =" Husky" BeforeTargets =" Restore;CollectPackageReferences" Condition =" '$(HUSKY)' != 0" >
30+ <Exec Command =" dotnet tool restore" StandardOutputImportance =" Low" StandardErrorImportance =" High" />
31+ <Exec Command =" dotnet husky install" StandardOutputImportance =" Low" StandardErrorImportance =" High" WorkingDirectory =" .." />
32+ </Target >
3333</Project >
You can’t perform that action at this time.
0 commit comments