Skip to content
This repository has been archived by the owner on Apr 1, 2022. It is now read-only.

Feature/packageupdates #71

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
7 changes: 4 additions & 3 deletions build.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$BUILD_PACKAGES = '.buildpackages'
$FAKE_VERSION = "5.12.0"
$FAKE_VERSION = "5.20.3"
$FAKE_PACKAGE_NAME = "fake-cli"

# prerequisites dotnet sdk is installed
Expand All @@ -12,14 +12,14 @@ if (!(Test-Path $BUILD_PACKAGES)) {
$installedPackages = & dotnet tool list --tool-path "$BUILD_PACKAGES" | Out-String
$fakeEntry = $installedPackages -split "`n" | Select-String -Pattern "$FAKE_PACKAGE_NAME" -CaseSensitive | Select-Object -First 1


if ($null -eq $fakeEntry) {
# installs fake cli if not present
& dotnet tool install "$FAKE_PACKAGE_NAME" `
--tool-path "$BUILD_PACKAGES" `
--version "$($FAKE_VERSION)"
--version "$FAKE_VERSION"

if ($LASTEXITCODE -ne 0) {
Write-Host $error[0]
throw "Could not install $FAKE_PACKAGE_NAME"
}
}
Expand All @@ -34,6 +34,7 @@ elseif(-not ($fakeEntry -like "*$($FAKE_VERSION)*")) {
--version "$($FAKE_VERSION)"

if ($LASTEXITCODE -ne 0) {
Write-Host $error[0]
throw "Could not update $FAKE_PACKAGE_NAME"
}
}
Expand Down
5 changes: 5 additions & 0 deletions build/azure-pipelines-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ steps:
sonar.cpd.exclusions=**/*.html
sonar.typescript.lcov.reportPaths=$(Build.Repository.LocalPath)/src/web/coverage/developerapp/lcov.info
sonar.cs.vscoveragexml.reportsPaths=$(Build.Repository.LocalPath)/**/*.coveragexml
- task: UseDotNet@2
inputs:
packageType: 'sdk'
useGlobalJson: true
workingDirectory: '$(Build.Repository.LocalPath)'
- task: PowerShell@2
displayName: 'Run fake build'
inputs:
Expand Down
5 changes: 0 additions & 5 deletions src/web/Configurations/EventHubCredentials.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Aitgmbh.Tapio.Developerapp.Web.Configurations
{
public class EventHubCredentials
Expand Down
2 changes: 0 additions & 2 deletions src/web/Controllers/DocumentationPathController.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Linq;

using Aitgmbh.Tapio.Developerapp.Web.Repositories;
using Microsoft.AspNetCore.Mvc;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Threading;
using System.Threading.Tasks;
using Aitgmbh.Tapio.Developerapp.Web.Models;
using Aitgmbh.Tapio.Developerapp.Web.Scenarios.MachineOverview;
using Microsoft.AspNetCore.Mvc;

namespace Aitgmbh.Tapio.Developerapp.Web.Scenarios.HistoricConditions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using Aitgmbh.Tapio.Developerapp.Web.Services;
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Aitgmbh.Tapio.Developerapp.Web.Services;

namespace Aitgmbh.Tapio.Developerapp.Web.Scenarios.HistoricConditions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Aitgmbh.Tapio.Developerapp.Web.Models;
Expand Down
5 changes: 2 additions & 3 deletions src/web/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,11 @@
"node_modules/bulma/css/bulma.min.css",
"node_modules/bulma-checkradio/dist/css/bulma-checkradio.min.css",
"node_modules/@ng-select/ng-select/themes/default.theme.css",
"node_modules/ng-pick-datetime/assets/style/picker.min.css",
"node_modules/@danielmoncada/angular-datetime-picker/assets/style/picker.min.css",
"src/assets/font/audimat/fonts.css",
"src/styles.scss"
],
"scripts": [],
"es5BrowserSupport": true
"scripts": []
},
"configurations": {
"production": {
Expand Down
Loading