DotNetDo.Core
0.3.0
dotnet add package DotNetDo.Core --version 0.3.0
NuGet\Install-Package DotNetDo.Core -Version 0.3.0
<PackageReference Include="DotNetDo.Core" Version="0.3.0" />
<PackageVersion Include="DotNetDo.Core" Version="0.3.0" />
<PackageReference Include="DotNetDo.Core" />
paket add DotNetDo.Core --version 0.3.0
#r "nuget: DotNetDo.Core, 0.3.0"
#:package DotNetDo.Core@0.3.0
#addin nuget:?package=DotNetDo.Core&version=0.3.0
#tool nuget:?package=DotNetDo.Core&version=0.3.0
DotNetDo
DotNetDo turns small C# files into repository automation scripts. It is both a global tool and a library, so scripts run with dotnet do and use typed helpers for processes, paths, Git, .NET, configuration, secrets, logging, and CI providers.
Install
Note that DotNetDo requires .NET 10.
dotnet tool install --global DotNetDo
dnx DotNetDo build
Use
dotnet do :new build
dotnet do
dotnet do build
:init creates workspace-local do.cmd and do launchers. Use .\do from PowerShell or ./do from a Unix shell.
A script is an ordinary .NET file-based app:
#!/usr/bin/env dotnet
#:package DotNetDo.Core@0.1.0
using DotNetDo;
await Tools.DotNet.Build;
Use dotnet do :help for runner commands or dotnet do :help <name> for a script's declared parameters.
Licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- LibGit2Sharp (>= 0.31.0)
- Microsoft.Build (>= 18.7.1)
- Microsoft.Build.Locator (>= 1.11.2)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.9)
- Microsoft.Extensions.Configuration.CommandLine (>= 10.0.9)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.9)
- Microsoft.Extensions.Configuration.UserSecrets (>= 10.0.9)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.9)
- Microsoft.VisualStudio.SolutionPersistence (>= 1.0.52)
- Serilog (>= 4.4.0)
- Serilog.Sinks.Console (>= 6.1.1)
- Tomlyn (>= 2.10.1)
- YamlDotNet (>= 18.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.