Initial orchard setup
This commit is contained in:
14
tools/Build/Build.csproj
Normal file
14
tools/Build/Build.csproj
Normal file
@@ -0,0 +1,14 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Faithlife.Build" Version="5.18.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
12
tools/Build/Program.cs
Normal file
12
tools/Build/Program.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Faithlife.Build;
|
||||
using static Faithlife.Build.DotNetRunner;
|
||||
|
||||
internal static class Build
|
||||
{
|
||||
public static int Main(string[] args) => BuildRunner.Execute(args, build =>
|
||||
{
|
||||
build.Target("build")
|
||||
.Describe("Builds the solution")
|
||||
.Does(() => RunDotNet("build", "-c", "Release", "--verbosity", "normal"));
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user