Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 1,
"isRoot": true,
"tools": {
"csharpier": {
"version": "0.18.0",
"commands": [
"dotnet-csharpier"
]
},
"husky": {
"version": "0.4.4",
"commands": [
"husky"
]
}
}
}
22 changes: 22 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

## husky task runner examples -------------------
## Note : for local installation use 'dotnet' prefix. e.g. 'dotnet husky'

## run all tasks
#husky run

### run all tasks with group: 'group-name'
#husky run --group group-name

## run task with name: 'task-name'
#husky run --name task-name

## pass hook arguments to task
#husky run --args "$1" "$2"

## or put your custom commands -------------------
#echo 'Husky.Net is awesome!'

dotnet husky run
8 changes: 8 additions & 0 deletions .husky/task-runner.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"tasks": [{
"name": "Format code",
"command": "dotnet",
"args": [ "csharpier", "${staged}" ],
"include": [ "**/*.cs" ]
}]
}
5 changes: 4 additions & 1 deletion src/ConductorSharp.Engine/ConductorSharp.Engine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,8 @@
<ItemGroup>
<ProjectReference Include="..\ConductorSharp.Client\ConductorSharp.Client.csproj" />
</ItemGroup>

<Target Name="husky" BeforeTargets="Restore;CollectPackageReferences" Condition="'$(HUSKY)' != 0">
<Exec Command="dotnet tool restore" StandardOutputImportance="Low" StandardErrorImportance="High" WorkingDirectory="../../" />
<Exec Command="dotnet husky install" StandardOutputImportance="Low" StandardErrorImportance="High" WorkingDirectory="../../" />
</Target>
</Project>
8 changes: 3 additions & 5 deletions src/ConductorSharp.Engine/Model/DynamicForkJoinTaskModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@

namespace ConductorSharp.Engine.Model
{

public class DynamicForkJoinInput : IRequest<NoOutput>
{
public dynamic DynamicTasks { get; set; }

public dynamic DynamicTasksI { get; set; }
}
public class DynamicForkJoinTaskModel : TaskModel<DynamicForkJoinInput, NoOutput>
{
}
}

public class DynamicForkJoinTaskModel : TaskModel<DynamicForkJoinInput, NoOutput> { }
}