new common package (#2)
This commit is contained in:
Родитель
4c787deecf
Коммит
1dba4debfc
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@microsoft.azure/autorest.azureresourceschema",
|
||||
"version": "1.9.3",
|
||||
"version": "1.9.4",
|
||||
"description": "The Azure Resource Schema extension for classic generators in AutoRest.",
|
||||
"scripts": {
|
||||
"start": "dotnet src/bin/netcoreapp2.0/autorest.azureresourceschema.dll --server",
|
||||
|
|
|
@ -30,7 +30,7 @@ namespace AutoRest.AzureResourceSchema
|
|||
public static int Main(string[] args )
|
||||
{
|
||||
if(args != null && args.Length > 0 && args[0] == "--server") {
|
||||
var connection = new Connection(Console.Out, Console.OpenStandardInput());
|
||||
var connection = new Connection(Console.OpenStandardOutput(), Console.OpenStandardInput());
|
||||
connection.Dispatch<IEnumerable<string>>("GetPluginNames", async () => new []{ "azureresourceschema" });
|
||||
connection.Dispatch<string, string, bool>("Process", (plugin, sessionId) => new Program(connection, plugin, sessionId).Process());
|
||||
connection.DispatchNotification("Shutdown", connection.Stop);
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
<ItemGroup>
|
||||
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
|
||||
<PackageReference Include="YamlDotNet.Signed" Version="4.2.1" />
|
||||
<PackageReference Include="autorest.common" Version="2.0.26" />
|
||||
<PackageReference Include="autorest.common" Version="2.1.14" />
|
||||
<!-- <ProjectReference Include="../../autorest.common/src/autorest.common.csproj" /> -->
|
||||
</ItemGroup>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче