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