31 lines
881 B
C#
31 lines
881 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.IO.Compression;
|
|
using System.Runtime.InteropServices;
|
|
using Microsoft.DotNet.Cli.Build.Framework;
|
|
using Microsoft.Extensions.PlatformAbstractions;
|
|
|
|
using static Microsoft.DotNet.Cli.Build.Framework.BuildHelpers;
|
|
|
|
namespace Microsoft.DotNet.Cli.Build
|
|
{
|
|
public class InstallerTargets
|
|
{
|
|
[Target(nameof(MsiTargets.GenerateMsis),
|
|
nameof(MsiTargets.GenerateBundles),
|
|
nameof(PkgTargets.GeneratePkgs),
|
|
nameof(DebTargets.GenerateDebs))]
|
|
public static BuildTargetResult GenerateInstaller(BuildTargetContext c)
|
|
{
|
|
return c.Success();
|
|
}
|
|
|
|
[Target(nameof(DebTargets.TestDebInstaller))]
|
|
public static BuildTargetResult TestInstaller(BuildTargetContext c)
|
|
|
|
{
|
|
return c.Success();
|
|
}
|
|
}
|
|
}
|