Move PackagedCommands to TestAssets.
Convert package-command-test.ps1 to an XUnit test.
This commit is contained in:
parent
b209f98fd1
commit
5d04ca1fe3
15 changed files with 146 additions and 87 deletions
12
TestAssets/TestProjects/AppWithDirectDependency/Program.cs
Normal file
12
TestAssets/TestProjects/AppWithDirectDependency/Program.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
|
||||
namespace ConsoleApplication
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hello World!");
|
||||
}
|
||||
}
|
||||
}
|
17
TestAssets/TestProjects/AppWithDirectDependency/project.json
Normal file
17
TestAssets/TestProjects/AppWithDirectDependency/project.json
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
"compilationOptions": {
|
||||
"emitEntryPoint": true
|
||||
},
|
||||
|
||||
"testRunner": "must-be-specified-to-generate-deps",
|
||||
|
||||
"dependencies": {
|
||||
"NETStandard.Library": "1.0.0-rc2-23810",
|
||||
"dotnet-hello": {"version": "1.0.0", "target": "package"}
|
||||
},
|
||||
|
||||
"frameworks": {
|
||||
"dnxcore50": { }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue