// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using NuGet.Frameworks;
namespace RepoTasks.ProjectModel
{
[Flags]
internal enum PatchPolicy
{
///
/// Only produce new package versions if there were changes to product code.
///
ProductChangesOnly = 1 << 0,
///
/// Packages should update in every patch.
///
AlwaysUpdate = 1 << 1,
///
/// Produce new package versions if there were changes to product code, or if one of the package dependencies has updated.
///
CascadeVersions = 1 << 2,
AlwaysUpdateAndCascadeVersions = CascadeVersions | AlwaysUpdate,
}
}