Skip to content

Commit 01ec040

Browse files
authored
Fallout migration (#591)
Co-authored-by: Michał Dembski <DemoBytom@users.noreply.github.com>
1 parent d31b559 commit 01ec040

13 files changed

Lines changed: 47 additions & 39 deletions

File tree

.config/dotnet-tools.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
"nbgv"
1616
],
1717
"rollForward": false
18+
},
19+
"fallout.globaltool": {
20+
"version": "10.3.49",
21+
"commands": [
22+
"fallout"
23+
],
24+
"rollForward": false
1825
}
1926
}
2027
}
File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"Quiet"
4949
]
5050
},
51-
"NukeBuild": {
51+
"FalloutBuild": {
5252
"properties": {
5353
"Continue": {
5454
"type": "boolean",
@@ -132,7 +132,7 @@
132132
}
133133
},
134134
{
135-
"$ref": "#/definitions/NukeBuild"
135+
"$ref": "#/definitions/FalloutBuild"
136136
}
137137
]
138138
}

.github/workflows/CI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#
1010
# - To trigger manual generation invoke:
1111
#
12-
# nuke --generate-configuration GitHubActions_CI --host GitHubActions
12+
# fallout --generate-configuration GitHubActions_CI --host GitHubActions
1313
#
1414
# </auto-generated>
1515
# ------------------------------------------------------------------------------
@@ -27,11 +27,11 @@ jobs:
2727
with:
2828
lfs: true
2929
fetch-depth: 0
30-
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
30+
- name: 'Cache: .fallout/temp, ~/.nuget/packages'
3131
uses: actions/cache@v4
3232
with:
3333
path: |
34-
.nuke/temp
34+
.fallout/temp
3535
~/.nuget/packages
3636
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}
3737
- name: 'Run: Clean, Compile, Test, Publish'

Directory.Packages.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<PackageVersion Include="Autofac.Extensions.DependencyInjection" Version="11.0.1" />
88
<PackageVersion Include="BenchmarkDotNet" Version="0.15.8" />
99
<PackageVersion Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.15.8" />
10+
<PackageVersion Include="Fallout.Common" Version="10.3.49" />
1011
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="5.3.0" />
1112
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="5.3.0" />
1213
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Analyzer.Testing" Version="1.1.3" />

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Project is using [Vortice.Windows](https://github.com/amerkoleci/Vortice.Windows
1212
## Build
1313
In order to compile, you need **Visual Studio 2026, or newer** setup for C# development, and [.NET Core 10.0.102 SDK](https://github.com/dotnet/core/blob/main/release-notes/10.0/10.0.2/10.0.2.md).
1414

15-
**Command line** build can be done using [Nuke](https://nuke.build/) using the following commands:
15+
**Command line** build can be done using [Fallout](https://github.com/Fallout-build/Fallout) using the following commands:
1616
```
1717
dotnet tool restore
18-
dotnet nuke
18+
dotnet fallout
1919
```
2020

2121
## Credits

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
1414
###########################################################################
1515

1616
$BuildProjectFile = "$PSScriptRoot\build\Build.csproj"
17-
$TempDirectory = "$PSScriptRoot\\.nuke\temp"
17+
$TempDirectory = "$PSScriptRoot\\.fallout\temp"
1818

1919
$DotNetGlobalFile = "$PSScriptRoot\\global.json"
2020
$DotNetInstallUrl = "https://dot.net/v1/dotnet-install.ps1"

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SCRIPT_DIR=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)
1010
###########################################################################
1111

1212
BUILD_PROJECT_FILE="$SCRIPT_DIR/build/Build.csproj"
13-
TEMP_DIRECTORY="$SCRIPT_DIR//.nuke/temp"
13+
TEMP_DIRECTORY="$SCRIPT_DIR//.fallout/temp"
1414

1515
DOTNET_GLOBAL_FILE="$SCRIPT_DIR//global.json"
1616
DOTNET_INSTALL_URL="https://dot.net/v1/dotnet-install.sh"

build/Build.GitFlow.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright © Michał Dembski and contributors.
22
// Distributed under MIT license. See LICENSE file in the root for more information.
33

4-
using Nuke.Common;
5-
using static Nuke.Common.ChangeLog.ChangelogTasks;
4+
using Fallout.Common;
5+
using static Fallout.Common.ChangeLog.ChangelogTasks;
66

77
namespace BuildScript;
88

0 commit comments

Comments
 (0)