Newbe.Build.Psake
3.0.1
.NET Core 2.2
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 |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
3.0 改为使用 powershell 6 作为基础要求,实现跨操作系统