From f0eb2f3270574a79d04822b6494608606b78c2ff Mon Sep 17 00:00:00 2001 From: frellingfrakker <56929944+frellingfrakker@users.noreply.github.com> Date: Sun, 3 Nov 2019 11:03:25 -0500 Subject: [PATCH 1/3] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..1b39c26 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,38 @@ +# ASP.NET +# Build and test ASP.NET projects. +# Add steps that publish symbols, save build artifacts, deploy, and more: +# https://docs.microsoft.com/azure/devops/pipelines/apps/aspnet/build-aspnet-4 + +trigger: +- master + +pool: + vmImage: 'windows-latest' + +variables: + solution: '**/*.sln' + buildPlatform: 'Any CPU' + buildConfiguration: 'Release' + +steps: +- task: NuGetToolInstaller@1 + +- task: NuGetCommand@2 + inputs: + restoreSolution: '$(solution)' + +- task: BatchScript@1 + inputs: + filename: 'src/PokerLeagueManager.UI.Web/BuildAngular.bat' + +- task: VSBuild@1 + inputs: + solution: '$(solution)' + msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactStagingDirectory)"' + platform: '$(buildPlatform)' + configuration: '$(buildConfiguration)' + +- task: VSTest@2 + inputs: + platform: '$(buildPlatform)' + configuration: '$(buildConfiguration)' From fce79b13d0e401a233a5c5ea27ec1abf5baf313c Mon Sep 17 00:00:00 2001 From: frellingfrakker <56929944+frellingfrakker@users.noreply.github.com> Date: Sun, 3 Nov 2019 11:08:47 -0500 Subject: [PATCH 2/3] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1b39c26..764ebfc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -23,7 +23,7 @@ steps: - task: BatchScript@1 inputs: - filename: 'src/PokerLeagueManager.UI.Web/BuildAngular.bat' + filename: '$(Build.SourcesDirectory)/src/PokerLeagueManager.UI.Web/BuildAngular.bat' - task: VSBuild@1 inputs: From 25d0dff2e4a8b98db62ef060e8fa7ae942dbf551 Mon Sep 17 00:00:00 2001 From: frellingfrakker <56929944+frellingfrakker@users.noreply.github.com> Date: Sun, 3 Nov 2019 11:20:25 -0500 Subject: [PATCH 3/3] Update navbar.component.html --- .../angular/src/app/navbar/navbar.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PokerLeagueManager.UI.Web/angular/src/app/navbar/navbar.component.html b/src/PokerLeagueManager.UI.Web/angular/src/app/navbar/navbar.component.html index 254481e..82459b9 100644 --- a/src/PokerLeagueManager.UI.Web/angular/src/app/navbar/navbar.component.html +++ b/src/PokerLeagueManager.UI.Web/angular/src/app/navbar/navbar.component.html @@ -2,7 +2,7 @@ -