Esempio n. 1
0
        public override void Run(Context context)
        {
            BuildTasks.BuildUwp(context);

            if (context.BuildSystem().IsRunningOnAppVeyor)
            {
                foreach (FilePath file in context.GetFiles($"{context.PackageDir}/*.appxbundle"))
                {
                    context.AppVeyor().UploadArtifact(file);
                }
            }
        }
Esempio n. 2
0
        public override void Run(Context context)
        {
            RunCoreMsBuild(context, "BuildDotnet", "PublishDotnet");

            if (context.RunNetFramework)
            {
                BuildTasks.IlRepackCli(context);
            }

            context.Zip(context.CliPackageDir, context.PackageDir.CombineWithFilePath("VGAudioCli.zip"));
            context.DeleteDirectory(context.CliPackageDir, false);

            if (context.BuildSystem().IsRunningOnAppVeyor)
            {
                FilePathCollection uploadFiles = context.GetFiles($"{context.PackageDir}/*.nupkg");
                uploadFiles.Add(context.GetFiles($"{context.PackageDir}/*.exe"));
                uploadFiles.Add(context.GetFiles($"{context.PackageDir}/*.zip"));

                foreach (FilePath file in uploadFiles)
                {
                    context.AppVeyor().UploadArtifact(file);
                }
            }
        }
Esempio n. 3
0
 public override void Run(Context context) => BuildTasks.BuildUwp(context, true);