Skip to content

Commit

Permalink
Updated the dotnet-test-nunit version to the latest beta (.Net Core N…
Browse files Browse the repository at this point in the history
…Unit runner) and added Nuget creation to the build process
  • Loading branch information
kevinsea committed Jan 30, 2017
1 parent b35b723 commit 8d2589c
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
9 changes: 7 additions & 2 deletions Insight.Database.Providers.Default/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@
"runtimes": { "win": {} },
"dependencies": {
"Insight.Database": "1.0.0-*"
},

"scripts": {
"postcompile": [
"dotnet pack --no-build --configuration %compile:Configuration%"
]
}
}
// , "compilationOptions": { "keyFile": "..\\Insight.Database.snk" } //"keyFile": "..\\Insight.Database.snk"
// , "compilationOptions": { "keyFile": "..\\Insight.Database.snk" } //"keyFile": "..\\Insight.Database.snk"
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ internal ReadOnlyCollection<DbColumn> GetColumnSchema()
// TODO Review. This honors removed columns but does not respect changes to other attributes
// because its a second read only copy of the data. We should subclass DbColumn and use it to hold the data?

//return new ReadOnlyCollection<DbColumn>(_columnSchemas.Values.ToList());

var list = new List<DbColumn>();

foreach (IColumnSchema item in this)
Expand Down
8 changes: 7 additions & 1 deletion Insight.Database/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,11 @@
}
}
},
"runtimes": { "win": {} }
"runtimes": { "win": {} },

"scripts": {
"postcompile": [
"dotnet pack --no-build --configuration %compile:Configuration%"
]
}
}
2 changes: 2 additions & 0 deletions Insight.Tests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

[assembly: InternalsVisibleTo("Insight.Database.DynamicAssembly")]


2 changes: 1 addition & 1 deletion Insight.Tests/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"Insight.Database": "1.0.0-*",
"Insight.Database.Providers.Default": "1.0.0-*",
"NUnit": "3.4.1",
"dotnet-test-nunit": "3.4.0-beta-2"
"dotnet-test-nunit": "3.4.0-beta-3"
},
"buildOptions": {
"define": [ "NETCORE", "ROSLYN", "COREHACK" ]
Expand Down

0 comments on commit 8d2589c

Please sign in to comment.