Skip to content

Commit

Permalink
Merge pull request #19 from neekgreen/feature/vnext
Browse files Browse the repository at this point in the history
Feature/vnext
  • Loading branch information
Nicholas Myers committed Apr 22, 2017
2 parents 662b3e4 + 75da4f2 commit 5e81f2f
Show file tree
Hide file tree
Showing 43 changed files with 1,020 additions and 273 deletions.
34 changes: 25 additions & 9 deletions PaginableCollections.sln
@@ -1,20 +1,26 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
# Visual Studio 15
VisualStudioVersion = 15.0.26228.10
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{B15992BA-EB0A-4096-BA64-A7E1B7F6FA32}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "PaginableCollections", "src\PaginableCollections\PaginableCollections.xproj", "{8F6C7555-710F-443F-A5CA-BF50FC37484D}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "PaginableCollections.Tests", "tests\PaginableCollections.Tests\PaginableCollections.Tests.xproj", "{1834508B-44C8-44AD-83F2-19ACEE028AAF}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{50BAA0E6-841D-4678-9679-38A2A3456F60}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{50BAA0E6-841D-4678-9679-38A2A3456F60}"
ProjectSection(SolutionItems) = preProject
build.ps1 = build.ps1
global.json = global.json
appveyor.yml = appveyor.yml
build.cake = build.cake
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PaginableCollections", "src\PaginableCollections\PaginableCollections.csproj", "{8F6C7555-710F-443F-A5CA-BF50FC37484D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PaginableCollections.Tests", "tests\PaginableCollections.Tests\PaginableCollections.Tests.csproj", "{1834508B-44C8-44AD-83F2-19ACEE028AAF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleAppDotNet45", "samples\ConsoleAppDotNet45\ConsoleAppDotNet45.csproj", "{0A23A5A4-8F3F-4D07-A9EB-31AADB95C2E5}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ConsoleAppDotNetCore", "samples\ConsoleAppDotNetCore\ConsoleAppDotNetCore.csproj", "{5CEFB89D-72F7-4345-B3AA-B26091D7433C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{FC4DDD23-0F50-4F65-AA6D-DB5D2657C4D3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -29,11 +35,21 @@ Global
{1834508B-44C8-44AD-83F2-19ACEE028AAF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1834508B-44C8-44AD-83F2-19ACEE028AAF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1834508B-44C8-44AD-83F2-19ACEE028AAF}.Release|Any CPU.Build.0 = Release|Any CPU
{0A23A5A4-8F3F-4D07-A9EB-31AADB95C2E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0A23A5A4-8F3F-4D07-A9EB-31AADB95C2E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0A23A5A4-8F3F-4D07-A9EB-31AADB95C2E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0A23A5A4-8F3F-4D07-A9EB-31AADB95C2E5}.Release|Any CPU.Build.0 = Release|Any CPU
{5CEFB89D-72F7-4345-B3AA-B26091D7433C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5CEFB89D-72F7-4345-B3AA-B26091D7433C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5CEFB89D-72F7-4345-B3AA-B26091D7433C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5CEFB89D-72F7-4345-B3AA-B26091D7433C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{1834508B-44C8-44AD-83F2-19ACEE028AAF} = {B15992BA-EB0A-4096-BA64-A7E1B7F6FA32}
{0A23A5A4-8F3F-4D07-A9EB-31AADB95C2E5} = {FC4DDD23-0F50-4F65-AA6D-DB5D2657C4D3}
{5CEFB89D-72F7-4345-B3AA-B26091D7433C} = {FC4DDD23-0F50-4F65-AA6D-DB5D2657C4D3}
EndGlobalSection
EndGlobal
17 changes: 15 additions & 2 deletions README.md
@@ -1,2 +1,15 @@
# PaginableCollections [![Build status](https://ci.appveyor.com/api/projects/status/8hedo7ja62gaq022?svg=true)](https://ci.appveyor.com/project/neekgreen/paginablecollections)
A light weight pagination framework.
PaginableCollections
====================

[![Build status](https://ci.appveyor.com/api/projects/status/8hedo7ja62gaq022?svg=true)](https://ci.appveyor.com/project/neekgreen/paginablecollections)
[![NuGet](https://img.shields.io/nuget/v/paginablecollections.svg)](https://www.nuget.org/packages/paginablecollections)

A light weight pagination framework for .NET and .NET Core.

### Installing PaginableCollections

You should install [PaginableCollections with NuGet](https://www.nuget.org/packages/paginablecollections):

Install-Package PaginableCollections

This command will download and install PaginableCollections. Let me know if you have questions!
89 changes: 89 additions & 0 deletions build.cake
@@ -0,0 +1,89 @@
//#addin nuget:?package=Cake.AppVeyor

var target = Argument("Target", "Default");

// Configuration - The build configuration (Debug/Release) to use.
// 1. If command line parameter parameter passed, use that.
// 2. Otherwise if an Environment variable exists, use that.
var configuration = "Release";
// HasArgument("Configuration") ? Argument("Configuration") :
//EnvironmentVariable("Configuration") != null ? EnvironmentVariable("BuildNumber") : "Release";


var buildNumber =
HasArgument("BuildNumber") ? Argument<int>("BuildNumber") :
AppVeyor.IsRunningOnAppVeyor ? AppVeyor.Environment.Build.Number :
EnvironmentVariable("BuildNumber") != null ? int.Parse(EnvironmentVariable("BuildNumber")) : 1;

var artifactsDirectory = Directory("./artifacts");

Task("Clean")
.Does(() =>
{
CleanDirectory(artifactsDirectory);
});

Task("Restore")
.IsDependentOn("Clean")
.Does(() =>
{
DotNetCoreRestore();
});

Task("Build")
.IsDependentOn("Restore")
.Does(() =>
{
var projects = GetFiles("./**/*.csproj");
foreach(var project in projects)
{
DotNetCoreBuild(
project.GetDirectory().FullPath,
new DotNetCoreBuildSettings()
{
Configuration = configuration
});
}
});

Task("Test")
.IsDependentOn("Build")
.Does(() =>
{
var projects = GetFiles("./tests/**/*.csproj");
foreach(var project in projects)
{
DotNetCoreTest(
project.FullPath,
new DotNetCoreTestSettings()
{
Configuration = configuration,
NoBuild = true
});
}
});

Task("Pack")
.IsDependentOn("Test")
.Does(() =>
{
var projects = GetFiles("./src/**/*.csproj");
foreach (var project in projects)
{
DotNetCorePack(
project.GetDirectory().FullPath,
new DotNetCorePackSettings()
{
Configuration = configuration,
OutputDirectory = artifactsDirectory,
});
}
});


Task("Default")
.IsDependentOn("Pack");



RunTarget(target);

0 comments on commit 5e81f2f

Please sign in to comment.