Newbe.Build.Psake
3.0.1
dotnet tool install --global Newbe.Build.Psake --version 3.0.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 Newbe.Build.Psake --version 3.0.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Newbe.Build.Psake&version=3.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Newbe.Build.Psake --version 3.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
本框架采用Psake作为脚本构建框架,依托Powershell本身强大的功能,实现对开发过程自动化的功能。
1. [下载安装netcore 2.2 及以上版本SDK](https://dotnet.microsoft.com/download)
2. [下载安装 Powershell 6](https://github.com/powershell/powershell)
3. 使用控制台或powershell,运行命令`dotnet tool install newbe.build.psake -g`
4. 在需要安装本框架的位置使用控制台或powershell,运行命令`newbe.build.psake init`
5. 按照psake规范对build.ps1进行修改。
6. 执行build.bat便可以执行
Product | Versions 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 | netcoreapp2.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
3.0 改为使用 powershell 6 作为基础要求,实现跨操作系统