Skip to content
This repository was archived by the owner on Dec 11, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ _ReSharper*/

# JetBrains Rider
.idea/
*.sln.iml
*.sln.iml

.tmp
2 changes: 1 addition & 1 deletion .nuke
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Backend.Fx.sln
src/Backend.Fx.sln
1 change: 1 addition & 0 deletions .tmp/build-attempt.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
884bc421701d4c4e7e62c0eca741ed63
Clean
Restore
Compile
Test
Expand Down
175 changes: 0 additions & 175 deletions Backend.Fx.sln

This file was deleted.

7 changes: 0 additions & 7 deletions Backend.Fx.sln.DotSettings

This file was deleted.

8 changes: 3 additions & 5 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,25 @@ class Build : NukeBuild
{
public static int Main() => Execute<Build>(x => x.Publish);

[Parameter("Configuration to build - Default is 'Debug' (local) or 'Release' (server)")]
readonly Configuration Configuration = IsLocalBuild ? Configuration.Debug : Configuration.Release;
[Parameter("Configuration to build - Default is 'Release'")]
readonly Configuration Configuration = Configuration.Release;

readonly string MygetApiKey = Environment.GetEnvironmentVariable("MYGET_APIKEY");
readonly string MygetFeedUrl = Environment.GetEnvironmentVariable("MYGET_FEED_URL") ?? "https://www.myget.org/F/marcwittke/api/v3/index.json";
readonly string NugetApiKey = Environment.GetEnvironmentVariable("NUGET_APIKEY");

[Solution] readonly Solution Solution;
[GitRepository] readonly GitRepository GitRepository;
[GitVersion(Framework = "netcoreapp3.1")] readonly GitVersion GitVersion;
[GitVersion(Framework = "net5.0", NoFetch = true)] readonly GitVersion GitVersion;

AbsolutePath SourceDirectory => RootDirectory / "src";
AbsolutePath TestsDirectory => RootDirectory / "tests";
AbsolutePath ArtifactsDirectory => RootDirectory / "artifacts";

Target Clean => _ => _
.Before(Restore)
.Executes(() =>
{
SourceDirectory.GlobDirectories("**/bin", "**/obj").ForEach(DeleteDirectory);
TestsDirectory.GlobDirectories("**/bin", "**/obj").ForEach(DeleteDirectory);
EnsureCleanDirectory(ArtifactsDirectory);
});

Expand Down
2 changes: 0 additions & 2 deletions build/Configuration.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.ComponentModel;
using System.Linq;
using Nuke.Common.Tooling;

[TypeConverter(typeof(TypeConverter<Configuration>))]
Expand Down
4 changes: 2 additions & 2 deletions build/_build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<RootNamespace></RootNamespace>
<NoWarn>CS0649;CS0169</NoWarn>
<NukeRootDirectory>..</NukeRootDirectory>
Expand All @@ -11,7 +11,7 @@

<ItemGroup>
<PackageReference Include="Nuke.Common" Version="5.0.2" />
<PackageDownload Include="GitVersion.Tool" Version="[5.5.1]" />
<PackageDownload Include="GitVersion.Tool" Version="[5.7.0]" />
</ItemGroup>

</Project>
Binary file removed doc/Backend.Fx.eap
Binary file not shown.
Binary file removed lib/GitVersion/GitTools.Core.dll
Binary file not shown.
Loading