Skip to content

Commit

Permalink
Minor refactoring of build framework
Browse files Browse the repository at this point in the history
  • Loading branch information
MihaMarkic committed Sep 15, 2024
1 parent 7655550 commit b058795
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ namespace Build.Publish;
public class FrameworkDependentPublishTask : FrostingTask<BuildContext>
{
public override bool ShouldRun(BuildContext context)
=> context.Architecture == TargetArchitecture.Dependent
&& context.BuildType == BuildType.Archive;
=> context is { Architecture: TargetArchitecture.Dependent, BuildType: BuildType.Archive };

public override void Run(BuildContext context)
{
Expand Down

0 comments on commit b058795

Please sign in to comment.