55using PostSharp . Engineering . BuildTools . Build . Model ;
66using PostSharp . Engineering . BuildTools . Dependencies . Model ;
77using 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