File tree Expand file tree Collapse file tree 3 files changed +1
-84
lines changed
tools/Google.Cloud.Tools.ReleaseManager Expand file tree Collapse file tree 3 files changed +1
-84
lines changed Original file line number Diff line number Diff line change 6464 # Build ReleaseManager first separately, so that we get any build messages
6565 # here rather than when we try to run it
6666 dotnet build tools/Google.Cloud.Tools.ReleaseManager
67- apis=(${tools} $( dotnet run --no-build --no-restore --project tools/Google.Cloud.Tools.ReleaseManager -- query-api-catalog list ) )
67+ apis=(${tools} $( find apis -depth -mindepth 1 -maxdepth 1 -type d | sed ' s#^apis/## ' ) )
6868fi
6969
7070# If we were given an API filter regex, apply it now.
Original file line number Diff line number Diff line change @@ -52,13 +52,6 @@ private static int Main(string[] args)
5252
5353 private static ICommand GetCommand ( string [ ] args )
5454 {
55- // This is called a lot during local generation, and doesn't do much. The reflection required
56- // to instantiate all the commands is significant, so we bypass it when we can.
57- if ( args . Length >= 1 && args [ 0 ] == QueryApiCatalogCommand . CommandName )
58- {
59- return new QueryApiCatalogCommand ( ) ;
60- }
61-
6255 var allCommands = typeof ( Program ) . Assembly . GetTypes ( )
6356 . Where ( t => ! t . IsAbstract && typeof ( ICommand ) . IsAssignableFrom ( t ) )
6457 . Select ( Activator . CreateInstance )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments