Skip to content

Commit

Permalink
added actions.json + Newton JSON nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
yaronweiss committed Nov 8, 2018
1 parent 0c7050b commit a3b8d8c
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
42 changes: 42 additions & 0 deletions GingerPythonPluginConsole/Ginger.PluginPackage.Actions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[
{
"InputValues": [
{
"Param": "GA",
"ParamTypeName": "IGingerAction"
},
{
"Param": "scriptContent",
"ParamTypeName": "string"
},
{
"Param": "args",
"ParamTypeName": "List<GingerPythonPluginConsole.Arg>{Properties=value:String}"
}
],
"ActionId": "RunScript",
"PluginId": "GingerPython",
"ServiceId": "Python",
"Description": "Run Script"
},
{
"InputValues": [
{
"Param": "GA",
"ParamTypeName": "IGingerAction"
},
{
"Param": "scriptFileName",
"ParamTypeName": "string"
},
{
"Param": "args",
"ParamTypeName": "List<GingerPythonPluginConsole.Arg>{Properties=value:String}"
}
],
"ActionId": "RunScriptFile",
"PluginId": "GingerPython",
"ServiceId": "Python",
"Description": "Run Script file"
}
]
4 changes: 4 additions & 0 deletions GingerPythonPluginConsole/GingerPythonPluginConsole.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

<ItemGroup>
<PackageReference Include="Ginger.Plugin.Core" Version="2.6.6" />
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
</ItemGroup>

<ItemGroup>
Expand All @@ -18,6 +19,9 @@
</ItemGroup>

<ItemGroup>
<None Update="Ginger.PluginPackage.Actions.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Ginger.PluginPackage.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
Expand Down

0 comments on commit a3b8d8c

Please sign in to comment.