Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(29)

Delta Between Two Patch Sets: Tools/Google.Apis.NuGet.Publisher/Program.cs

Issue 12767046: Issue 377: New build for releasing a new version (Closed) Base URL: https://google-api-dotnet-client.googlecode.com/hg/
Left Patch Set: add comments Created 10 years, 7 months ago
Right Patch Set: david comments Created 10 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
LEFTRIGHT
(no file at all)
1 /* 1 /*
2 Copyright 2013 Google Inc 2 Copyright 2013 Google Inc
3 3
4 Licensed under the Apache License, Version 2.0 (the "License"); 4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License. 5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at 6 You may obtain a copy of the License at
7 7
8 http://www.apache.org/licenses/LICENSE-2.0 8 http://www.apache.org/licenses/LICENSE-2.0
9 9
10 Unless required by applicable law or agreed to in writing, software 10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS, 11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and 13 See the License for the specific language governing permissions and
14 limitations under the License. 14 limitations under the License.
15 */ 15 */
16 16
17 using System; 17 using System;
18 using System.Collections.Generic; 18 using System.Collections.Generic;
19 using System.Diagnostics; 19 using System.Diagnostics;
20 using System.IO; 20 using System.IO;
21 using System.Linq; 21 using System.Linq;
22 using System.Reflection; 22 using System.Reflection;
23 using System.Threading.Tasks; 23 using System.Threading.Tasks;
24 24
25 using CommandLine; 25 using CommandLine;
26 using CommandLine.Text; 26 using CommandLine.Text;
27 27
28 using Google.Apis.NuGet.Publisher.Discovery; 28 using Google.Apis.NuGet.Publisher.Discovery;
29 using Google.Apis.Utils; 29 using Google.Apis.Utils;
30 using Google.Apis.Utils.Trace;
30 31
31 namespace Google.Apis.NuGet.Publisher 32 namespace Google.Apis.NuGet.Publisher
32 { 33 {
33 /// <summary>The options class which contains the different options to this utility.</summary> 34 /// <summary>The options class which contains the different options to this utility.</summary>
34 class Options 35 class Options
35 { 36 {
36 public const string ModeTest = "test"; 37 public const string ModeTest = "test";
37 public const string ModePublish = "publisher"; 38 public const string ModePublish = "publisher";
38 39
39 [Option('a', "all_apis", HelpText = "Define if NuGet publisher works on all Google APIs")] 40 [Option('a', "all_apis", HelpText = "Define if NuGet publisher works on all Google APIs")]
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 await publisher.Test(options.ApisDirectory); 259 await publisher.Test(options.ApisDirectory);
259 } 260 }
260 catch (Exception ex) 261 catch (Exception ex)
261 { 262 {
262 TraceSource.TraceEvent(TraceEventType.Error, "{0}\t Exceptio n [{1}] occurred", item, ex.Message); 263 TraceSource.TraceEvent(TraceEventType.Error, "{0}\t Exceptio n [{1}] occurred", item, ex.Message);
263 } 264 }
264 } 265 }
265 } 266 }
266 } 267 }
267 } 268 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b