Skip to content

Commit

Permalink
Update ReSharper SDK to 2018.2
Browse files Browse the repository at this point in the history
  • Loading branch information
olsh committed Aug 24, 2018
1 parent f0720b4 commit 9d778b3
Show file tree
Hide file tree
Showing 12 changed files with 38 additions and 1,160 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -252,4 +252,3 @@ paket-files/
templates.dotSettings

tools/*
!tools/packages.config
11 changes: 11 additions & 0 deletions appveyor.yml
@@ -0,0 +1,11 @@
image: Visual Studio 2017
install:
- dotnet tool install -g Cake.Tool --version 0.30.0
build_script:
- cmd: >-
dotnet cake -Target=UpdateBuildVersion
dotnet cake -Target=CreateArtifact -bootstrapVersion=3 -buildConfig=Release
dotnet cake -Target=CreateArtifact -bootstrapVersion=4 -buildConfig=Release
test: off
cache:
- 'tools -> build.cake'
23 changes: 4 additions & 19 deletions build.cake
@@ -1,8 +1,8 @@
var target = Argument("target", "Default");
var bootstrapVersion = Argument("bootstrap", "3");
var bootstrapVersion = Argument("bootstrapVersion", "3");
var buildConfiguration = Argument("buildConfig", "Debug");
var extensionsVersion = Argument("version", "2018.1.2");
var waveVersion = Argument("wave", "[12.0, 13.0)");
var extensionsVersion = Argument("version", "2018.2.0");
var waveVersion = Argument("wave", "[182.0.0, 183.0.0)");

Task("AppendBuildNumber")
.WithCriteria(BuildSystem.AppVeyor.IsRunningOnAppVeyor)
Expand All @@ -27,7 +27,7 @@ Task("CompileTemplates")
StartProcess("rstc/rstc.exe", string.Format("compile -i templates/bs{0}/*.md -o templates/bs{0}/templates.dotSettings -r templates/bs{0}/README.md",
bootstrapVersion));
if (exitCodeWithArgument != 0)
if (exitCodeWithArgument != 0)
{
throw new Exception(string.Format("Template compilation fail. Code {0}", exitCodeWithArgument));
}
Expand All @@ -39,23 +39,8 @@ Task("NugetRestore")
NuGetRestore("src/Resharper.BootstrapTemplates.sln");
});

Task("UpdateAssemblyVersion")
.IsDependentOn("AppendBuildNumber")
.Does(() =>
{
var assemblyFile = string.Format("src/Resharper.Bootstrap{0}.Templates/Properties/AssemblyInfo.cs", bootstrapVersion);
AssemblyInfoSettings assemblySettings = new AssemblyInfoSettings();
assemblySettings.Title = string.Format("Resharper.Bootstrap{0}.Templates", bootstrapVersion);
assemblySettings.FileVersion = extensionsVersion;
assemblySettings.Version = extensionsVersion;
CreateAssemblyInfo(assemblyFile, assemblySettings);
});

Task("Build")
.IsDependentOn("NugetRestore")
.IsDependentOn("UpdateAssemblyVersion")
.Does(() =>
{
MSBuild(string.Format("src/Resharper.Bootstrap{0}.Templates/Resharper.Bootstrap{0}.Templates.csproj", bootstrapVersion), new MSBuildSettings {
Expand Down
228 changes: 0 additions & 228 deletions build.ps1

This file was deleted.

11 changes: 0 additions & 11 deletions src/Resharper.Bootstrap3.Templates/Properties/AssemblyInfo.cs

This file was deleted.

0 comments on commit 9d778b3

Please sign in to comment.