Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: third_party/protobuf/appveyor.bat

Issue 1842653006: Update //third_party/protobuf to version 3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/protobuf/__init__.py ('k') | third_party/protobuf/appveyor.yml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 setlocal
2
3 IF %language%==cpp GOTO build_cpp
4 IF %language%==csharp GOTO build_csharp
5
6 echo Unsupported language %language%. Exiting.
7 goto :error
8
9 :build_cpp
10 echo Building C++
11 mkdir build_msvc
12 cd build_msvc
13 cmake -G "%generator%" -Dprotobuf_BUILD_SHARED_LIBS=%BUILD_DLL% ../cmake
14 msbuild protobuf.sln /p:Platform=%vcplatform% /logger:"C:\Program Files\AppVeyor \BuildAgent\Appveyor.MSBuildLogger.dll" || goto error
15 cd %configuration%
16 tests.exe || goto error
17 goto :EOF
18
19 :build_csharp
20 echo Building C#
21 cd csharp\src
22 nuget restore
23 msbuild Google.Protobuf.sln /p:Platform="Any CPU" /logger:"C:\Program Files\AppV eyor\BuildAgent\Appveyor.MSBuildLogger.dll" || goto error
24 nunit-console Google.Protobuf.Test\bin\%configuration%\Google.Protobuf.Test.dll || goto error
25 goto :EOF
26
27 :error
28 echo Failed!
29 EXIT /b %ERRORLEVEL%
OLDNEW
« no previous file with comments | « third_party/protobuf/__init__.py ('k') | third_party/protobuf/appveyor.yml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698