2016-03-07 20:20:50 +00:00
|
|
|
|
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),
|
2016-03-18 00:54:01 +00:00
|
|
|
|
nameof(MsiTargets.GenerateBundles),
|
2016-03-15 23:41:18 +00:00
|
|
|
|
nameof(PkgTargets.GeneratePkgs),
|
|
|
|
|
nameof(DebTargets.GenerateDebs))]
|
2016-03-07 20:20:50 +00:00
|
|
|
|
public static BuildTargetResult GenerateInstaller(BuildTargetContext c)
|
|
|
|
|
{
|
|
|
|
|
return c.Success();
|
|
|
|
|
}
|
2016-03-15 23:41:18 +00:00
|
|
|
|
|
|
|
|
|
[Target(nameof(DebTargets.TestDebInstaller))]
|
|
|
|
|
public static BuildTargetResult TestInstaller(BuildTargetContext c)
|
2016-03-07 20:20:50 +00:00
|
|
|
|
|
2016-03-09 07:23:15 +00:00
|
|
|
|
{
|
|
|
|
|
return c.Success();
|
|
|
|
|
}
|
2016-03-07 20:20:50 +00:00
|
|
|
|
}
|
|
|
|
|
}
|