Reacting to JsonParser renames
This commit is contained in:
parent
ac6e441f15
commit
df66c60e24
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetcidev/api/v3/index.json" />
|
||||
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetvolatiledev/api/v3/index.json" />
|
||||
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using Microsoft.Dnx.Runtime.Json;
|
||||
using Microsoft.Extensions.JsonParser.Sources;
|
||||
|
||||
namespace Microsoft.Dnx.Runtime
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,10 +4,8 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Runtime.Versioning;
|
||||
using System.Threading;
|
||||
using Microsoft.Dnx.Runtime.Json;
|
||||
using Microsoft.Extensions.JsonParser.Sources;
|
||||
using NuGet;
|
||||
|
||||
namespace Microsoft.Dnx.Runtime
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using Microsoft.Dnx.Runtime.Json;
|
||||
using Microsoft.Extensions.JsonParser.Sources;
|
||||
|
||||
namespace Microsoft.Dnx.Runtime
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System.Linq;
|
||||
using Microsoft.Dnx.Runtime.Json;
|
||||
using Microsoft.Extensions.JsonParser.Sources;
|
||||
|
||||
namespace Microsoft.Dnx.Runtime
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ using System.Collections.Generic;
|
|||
using System.IO;
|
||||
using System.Linq;
|
||||
using Microsoft.Extensions.FileSystemGlobbing;
|
||||
using Microsoft.Dnx.Runtime.Json;
|
||||
using Microsoft.Extensions.JsonParser.Sources;
|
||||
|
||||
namespace Microsoft.Dnx.Runtime
|
||||
{
|
||||
|
|
@ -33,15 +33,16 @@ namespace Microsoft.Dnx.Runtime
|
|||
_matcher.AddExcludePatterns(ExcludePatterns);
|
||||
}
|
||||
|
||||
internal static PatternGroup Build(JsonObject rawProject,
|
||||
string projectDirectory,
|
||||
string projectFilePath,
|
||||
string name,
|
||||
IEnumerable<string> fallbackIncluding = null,
|
||||
IEnumerable<string> additionalIncluding = null,
|
||||
IEnumerable<string> additionalExcluding = null,
|
||||
bool includePatternsOnly = false,
|
||||
ICollection<DiagnosticMessage> warnings = null)
|
||||
internal static PatternGroup Build(
|
||||
JsonObject rawProject,
|
||||
string projectDirectory,
|
||||
string projectFilePath,
|
||||
string name,
|
||||
IEnumerable<string> fallbackIncluding = null,
|
||||
IEnumerable<string> additionalIncluding = null,
|
||||
IEnumerable<string> additionalExcluding = null,
|
||||
bool includePatternsOnly = false,
|
||||
ICollection<DiagnosticMessage> warnings = null)
|
||||
{
|
||||
string includePropertyName = name;
|
||||
additionalIncluding = additionalIncluding ?? Enumerable.Empty<string>();
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Microsoft.Dnx.Runtime.Json;
|
||||
using Microsoft.Extensions.JsonParser.Sources;
|
||||
|
||||
namespace Microsoft.Dnx.Runtime
|
||||
{
|
||||
|
|
@ -13,12 +13,13 @@ namespace Microsoft.Dnx.Runtime
|
|||
{
|
||||
private static readonly char[] PatternSeparator = new[] { ';' };
|
||||
|
||||
public static IEnumerable<string> GetPatternsCollection(JsonObject rawProject,
|
||||
string projectDirectory,
|
||||
string projectFilePath,
|
||||
string propertyName,
|
||||
IEnumerable<string> defaultPatterns = null,
|
||||
bool literalPath = false)
|
||||
public static IEnumerable<string> GetPatternsCollection(
|
||||
JsonObject rawProject,
|
||||
string projectDirectory,
|
||||
string projectFilePath,
|
||||
string propertyName,
|
||||
IEnumerable<string> defaultPatterns = null,
|
||||
bool literalPath = false)
|
||||
{
|
||||
defaultPatterns = defaultPatterns ?? Enumerable.Empty<string>();
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,9 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using Microsoft.Dnx.Runtime.Json;
|
||||
using Microsoft.Extensions.JsonParser.Sources;
|
||||
|
||||
namespace Microsoft.Dnx.Runtime
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Microsoft.Dnx.Runtime.Json;
|
||||
using Microsoft.Extensions.JsonParser.Sources;
|
||||
using NuGet;
|
||||
|
||||
namespace Microsoft.Dnx.Runtime
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
"Microsoft.AspNet.FileProviders.Abstractions": "1.0.0-*",
|
||||
"Microsoft.AspNet.FileProviders.Physical": "1.0.0-*",
|
||||
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-*",
|
||||
"Microsoft.Dnx.Runtime.Json.Sources": {
|
||||
"Microsoft.Extensions.JsonParser.Sources": {
|
||||
"type": "build",
|
||||
"version": "1.0.0-*"
|
||||
},
|
||||
|
|
@ -27,10 +27,5 @@
|
|||
"System.Threading.Thread": "4.0.0-beta-*"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"scripts": {
|
||||
"postbuild": [
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue