Skip to content
Permalink
Browse files

Migrated build to Cake.Recipe

Cleaned up README.md and nuspec file

Move recipe.cake in build.ps1 and build.sh
  • Loading branch information...
RLittlesII committed Jul 22, 2017
2 parents 74f60db + a795861 commit fb1c379304a3b01adb2a93334e704c158dcef8a1
@@ -254,6 +254,8 @@ paket-files/

# CAKE - C# Make
tools/
!tools/packages.config
BuildArtifacts/

# VSCode
.vscode/
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26228.10
VisualStudioVersion = 15.0.26430.15
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{FC602C31-A856-4936-82F8-A1CC9B853499}"
EndProject
@@ -15,6 +15,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
GitVersion.yml = GitVersion.yml
LICENSE = LICENSE
README.md = README.md
recipe.cake = recipe.cake
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cake.SqlPackage", "src\Cake.SqlPackage\Cake.SqlPackage.csproj", "{2FCEED7D-3CDC-4B24-8013-8058AAA0020A}"
@@ -1,5 +1,5 @@
branches:
main:
master:
mode: ContinuousDelivery
tag:
increment: Patch
@@ -1,14 +1,18 @@
# Cake.SqlPackage
Cake AddIn that extends Cake for creating and deploying SQL Server databases and DACPAC packages.
Cake addin that extends Cake for creating and deploying SQL Server databases and DACPAC packages.

[![License](http://img.shields.io/:license-mit-blue.svg)](https://rlittlesii.mit-license.org/)

## Build Status
| Branch | Status |
| :--: | :--: |
| Master | [![Build status](https://ci.appveyor.com/api/projects/status/fexosj1c5ho9f2kd/branch/master?svg=true)](https://ci.appveyor.com/project/RLittlesII/cake-sqlpackage/branch/master) |
| Development | [![Build status](https://ci.appveyor.com/api/projects/status/fexosj1c5ho9f2kd/branch/develop?svg=true)](https://ci.appveyor.com/project/RLittlesII/cake-sqlpackage/branch/develop)

| License |
|Develop|Master|
|:--:|:--:|
|[![Build status](https://ci.appveyor.com/api/projects/status/fexosj1c5ho9f2kd/branch/develop?svg=true)](https://ci.appveyor.com/project/RLittlesII/cake-sqlpackage/branch/develop)|[![Build status](https://ci.appveyor.com/api/projects/status/fexosj1c5ho9f2kd/branch/develop?svg=true)](https://ci.appveyor.com/project/RLittlesII/cake-sqlpackage/branch/master)|

| Nuget |
| :--: |
| [![License](http://img.shields.io/:license-mit-blue.svg)](https://rlittlesii.mit-license.org/) |
| [![nuget](https://img.shields.io/nuget/vpre/Cake.SqlPackage.svg)](https://www.nuget.org/packages/Cake.SqlPackage) |


## [Example](https://github.com/RLittlesII/Cake.SqlPackage/tree/develop/example)

## [Example](https://github.com/RLittlesII/Cake.SqlPackage/tree/develop/example)
@@ -1,4 +1,4 @@

[assembly: AssemblyVersion("0.1.0.0")]
[assembly: AssemblyInformationalVersion("0.1.0-example.1+13.Branch.example.Sha.56a314cc40199ea8d74c73446daa1126eabcf088")]
[assembly: AssemblyFileVersion("0.1.0.0")]
[assembly: AssemblyVersion("0.1.2.0")]
[assembly: AssemblyInformationalVersion("0.1.2-build-cake-recipe.1+10.Branch.build/cake-recipe.Sha.e98296cf4d37a80407af8f1a52d74792c8c73af7")]
[assembly: AssemblyFileVersion("0.1.2.0")]

This file was deleted.

@@ -26,7 +26,7 @@ http://cakebuild.net
#>

Param(
[string]$Script = "build.cake",
[string]$Script = "recipe.cake",
[string]$Target = "Default",
[string]$Configuration = "Release",
[ValidateSet("Quiet", "Minimal", "Normal", "Verbose", "Diagnostic")]
@@ -108,4 +108,4 @@ if (!(Test-Path $CAKE_EXE)) {

# Start Cake
Invoke-Expression "$CAKE_EXE `"$Script`" -target=`"$Target`" -configuration=`"$Configuration`" -verbosity=`"$Verbosity`" $UseDryRun $UseExperimental"
exit $LASTEXITCODE
exit $LASTEXITCODE
@@ -11,7 +11,7 @@ NUGET_EXE=$TOOLS_DIR/nuget.exe
CAKE_EXE=$TOOLS_DIR/Cake/Cake.exe

# Define default arguments.
SCRIPT="build.cake"
SCRIPT="recipe.cake"
TARGET="Default"
CONFIGURATION="Release"
VERBOSITY="verbose"
@@ -6,7 +6,7 @@
////////////////////////////////////
// INSTALL ADDINS
////////////////////////////////////
#addin "nuget:https://www.myget.org/F/cake-sqlpackage/api/v2?package=Cake.SqlPackage&version=0.1.1"
#addin "nuget:https://www.myget.org/F/cake-sqlpackage/api/v2?package=Cake.SqlPackage&version=0.2.0-alpha0008"

var target = Argument("target", "Deploy");
var configuration = Argument("configuration", "Release");
@@ -5,7 +5,7 @@
<authors>Rodney Littles II</authors>
<owners>Rodney Littles II</owners>
<description>
Cake AddIn that extends Cake for creating and deploying SQL Server databases and DACPAC packages.
Cake addin that extends Cake for creating and deploying SQL Server databases and DACPAC packages.
</description>
<licenseUrl>https://github.com/RLittlesII/Cake.SqlPackage/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/RLittlesII/Cake.SqlPackage</projectUrl>
@@ -17,7 +17,6 @@
<files>
<file src="Cake.SqlPackage.dll" target="lib/net45" />
<file src="Cake.SqlPackage.pdb" target="lib/net45" />
<file src="Cake.SqlPackage.xml" target="lib/net45" />
<file src="Cake.Core.dll" target="lib/net45" />
<file src="Cake.SqlPackage.xml" target="lib/net45" />
</files>
</package>
@@ -0,0 +1,21 @@
#load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease

Environment.SetVariableNames();

BuildParameters.SetParameters(context: Context,
title: "Cake.SqlPackage",
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
testDirectoryPath: "./test",
testFilePattern: "/**/*UnitTests.dll",
solutionFilePath: "./Cake.SqlPackage.sln",
repositoryOwner: "RLittlesII",
repositoryName: "Cake.SqlPackage",
appVeyorAccountName: "RLittlesII",
shouldPostToGitter: false,
shouldPostToSlack: false,
shouldRunDupFinder: false);

BuildParameters.PrintParameters(Context);

Build.Run();
@@ -22,6 +22,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\Cake.SqlPackage.xml</DocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>

0 comments on commit fb1c379

Please sign in to comment.
You can’t perform that action at this time.