dotnet-do 1.3.1

dotnet tool install --global dotnet-do --version 1.3.1                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local dotnet-do --version 1.3.1                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-do&version=1.3.1                
nuke :add-package dotnet-do --version 1.3.1                

This will take you through installing the dotnet-do tool and running your first task in 3 or 4 commands.

  1. If you don't have one already, you'll need to install the tool-manifest (usually at the root of your repo). This is necessary for .NET to keep inventory on the installed tools for the given directory hierarchy. If you're looking to install dotnet-do globally, you can skip this step.
dotnet new tool-manifest
  1. Install the Dotnet Do tool, and make it ready to use! If you're looking to install dotnet-do globally, simply add --global to the end of this command.
dotnet tool install dotnet-do
  1. Let's get a starting point for our first task. Create a sample tasks file (dotnet-tasks.yml).
dotnet do --create
  1. That was easy! The sample task is named echo and simply prints Hello World, let's try executing it.
dotnet do echo
  1. Let's add another task of our own. Open the "dotnet-tasks.yml" and add a new entry with the task name of clean-build, that runs dotnet clean followed by dotnet build in the "src" folder.
- name: clean-build
  run: |
    dotnet clean
    dotnet build
  working-directory: src/
  1. We can now run our newly created task.
dotnet do clean-build
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.3.1 714 6/22/2020
1.3.0 469 6/22/2020
1.2.1 501 6/22/2020
1.2.0 509 6/22/2020
1.1.0 502 6/22/2020
1.0.0 543 6/21/2020

- Add option to list (--list) all available tasks.