Skip to content

Commit 24a91f3

Browse files
committed
2 parents f8ed86b + 8a03d08 commit 24a91f3

File tree

1 file changed

+10
-20
lines changed

1 file changed

+10
-20
lines changed

eng/src/Program.cs

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,17 @@
55
using PostSharp.Engineering.BuildTools.Build.Model;
66
using PostSharp.Engineering.BuildTools.Dependencies.Model;
77
using Spectre.Console.Cli;
8-
using System.Collections.Immutable;
98

10-
namespace BuildCaravela
9+
var product = new Product
1110
{
12-
internal static class Program
13-
{
14-
private static int Main( string[] args )
15-
{
16-
17-
var product = new Product
18-
{
19-
ProductName = "My.Product",
20-
Solutions = new Solution[] { new DotNetSolution( "src\\My.Product.sln" ) },
21-
PublicArtifacts = Pattern.Create( "My.Product.$(PackageVersion).nupkg" ),
22-
Dependencies = new[] { Dependencies.PostSharpEngineering, Dependencies.Metalama }
23-
};
11+
ProductName = "My.Product",
12+
Solutions = new[] { new DotNetSolution( "src\\My.Product.sln" ) },
13+
PublicArtifacts = Pattern.Create( "My.Product.$(PackageVersion).nupkg" ),
14+
Dependencies = new[] { Dependencies.PostSharpEngineering, Dependencies.Metalama }
15+
};
2416

25-
var commandApp = new CommandApp();
26-
commandApp.AddProductCommands( product );
17+
var commandApp = new CommandApp();
2718

28-
return commandApp.Run( args );
29-
}
30-
}
31-
}
19+
commandApp.AddProductCommands( product );
20+
21+
return commandApp.Run( args );

0 commit comments

Comments
 (0)