Skip to content

Commit

Permalink
Updating python plugin to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
JinendraGhodke committed Apr 10, 2019
1 parent 0e8ccba commit a69be86
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Ginger.Plugin.Core" Version="2.6.6" />
<PackageReference Include="Ginger.Plugin.Core" Version="3.3.2" />
<PackageReference Include="IronPython" Version="2.7.9" />
</ItemGroup>

Expand Down
Binary file removed GingerPythonPluginConsole/GingerCoreNET.dll
Binary file not shown.
7 changes: 2 additions & 5 deletions GingerPythonPluginConsole/GingerPythonPluginConsole.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
</PropertyGroup>

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

<ItemGroup>
Expand All @@ -25,9 +25,6 @@
<None Update="Ginger.PluginPackage.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="GingerCoreNET.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion GingerPythonPluginConsole/GingerPythonService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace GingerPythonPlugin
{
[GingerService("Python", "Run Python")]
public class GingerPythonService : IGingerService, IStandAloneAction
public class GingerPythonService
{


Expand Down
11 changes: 9 additions & 2 deletions GingerPythonPluginConsole/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,15 @@ static void Main(string[] args)
*/


GingerNodeStarter.StartNode(new GingerPythonService(), "Python Service 1");
Console.ReadKey();


using (GingerNodeStarter gingerNodeStarter = new GingerNodeStarter())
{
gingerNodeStarter.StartNode("Python Service 1", new GingerPythonService());
gingerNodeStarter.Listen();
}

Console.ReadKey();



Expand Down
1 change: 0 additions & 1 deletion GingerPythonPluginTest/GingerPythonPluginTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Ginger.Plugin.Core" Version="2.6.6" />
<PackageReference Include="GingerTestHelper" Version="1.0.4" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
<PackageReference Include="MSTest.TestAdapter" Version="1.3.2" />
Expand Down

0 comments on commit a69be86

Please sign in to comment.