-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
199 changed files
with
53,314 additions
and
18,882 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
image: mcr.microsoft.com/dotnet/sdk:5.0 | ||
image: mcr.microsoft.com/dotnet/sdk:8.0 | ||
|
||
variables: | ||
GIT_DEPTH: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
pool: | ||
vmImage: 'ubuntu-latest' | ||
|
||
jobs: | ||
- job: QodanaScan | ||
displayName: 'Qodana Scan' | ||
steps: | ||
- task: Cache@2 # Not required, but Qodana will open projects with cache faster. | ||
inputs: | ||
key: '"$(Build.Repository.Name)" | "$(Build.SourceBranchName)" | "$(Build.SourceVersion)"' | ||
path: '$(Agent.TempDirectory)/qodana/cache' | ||
restoreKeys: | | ||
"$(Build.Repository.Name)" | "$(Build.SourceBranchName)" | ||
"$(Build.Repository.Name)" | ||
- task: QodanaScan@2023 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
title: Installation | ||
--- | ||
|
||
Before you can set up a build project, you need to install NUKE's dedicated [.NET global tool](https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools): | ||
|
||
```powershell | ||
# terminal-command | ||
dotnet tool install Nuke.GlobalTool --global | ||
``` | ||
|
||
From now on, you can use the global tool to: | ||
|
||
- [Set up new builds](02-setup.md) | ||
- [Run existing builds](03-execution.md) | ||
- [Leverage shell completion](../06-global-tool/00-shell-completion.md) | ||
- [Add tool & library packages](../06-global-tool/01-packages.md) | ||
- [Navigate around root directories](../06-global-tool/03-navigation.md) | ||
- [Convert CAKE build scripts](../06-global-tool/04-cake.md) | ||
- [Manage secrets in parameter files](../06-global-tool/02-secrets.md) | ||
|
||
:::note | ||
If you're running on Linux-based systems, it's worth checking if the `nuke` global tool is available. This can be verified with `where nuke`. If the global tool is not found, you have to manually add `$HOME/.dotnet/tools` to your terminal configuration: | ||
|
||
<Tabs> | ||
<TabItem value="zsh" label="Zsh" default> | ||
|
||
```powershell | ||
# terminal-command | ||
echo 'export PATH=$HOME/.dotnet/tools:$PATH' >> ~/.zshrc | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> | ||
::: | ||
|
||
:::info | ||
While theoretically, you could use NUKE by only adding its main NuGet package, we highly recommend using the dedicated global tool to set up new builds. This ensures that your repository will run consistently in different environments and that your build implementation is always properly formatted. | ||
::: |
Oops, something went wrong.