Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame^] | 1 | @echo off |
| 2 | rem /* |
| 3 | rem * Licensed to the Apache Software Foundation (ASF) under one |
| 4 | rem * or more contributor license agreements. See the NOTICE file |
| 5 | rem * distributed with this work for additional information |
| 6 | rem * regarding copyright ownership. The ASF licenses this file |
| 7 | rem * to you under the Apache License, Version 2.0 (the |
| 8 | rem * "License"); you may not use this file except in compliance |
| 9 | rem * with the License. You may obtain a copy of the License at |
| 10 | rem * |
| 11 | rem * http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | rem * |
| 13 | rem * Unless required by applicable law or agreed to in writing, |
| 14 | rem * software distributed under the License is distributed on an |
| 15 | rem * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 | rem * KIND, either express or implied. See the License for the |
| 17 | rem * specific language governing permissions and limitations |
| 18 | rem * under the License. |
| 19 | rem */ |
| 20 | setlocal |
| 21 | |
| 22 | pushd Tests\Thrift.PublicInterfaces.Compile.Tests |
| 23 | for %%a in (*.thrift) do thrift -gen netcore:wcf -r %%a |
| 24 | thrift -gen netcore:wcf -r ..\..\..\..\contrib/fb303/if/fb303.thrift |
| 25 | thrift -gen netcore:wcf -r ..\..\..\..\test/ThriftTest.thrift |
| 26 | popd |
| 27 | |
| 28 | dotnet --info |
| 29 | |
| 30 | dotnet restore |
| 31 | |
| 32 | dotnet build **/*/project.json -r win10-x64 |
| 33 | dotnet build **/*/project.json -r osx.10.11-x64 |
| 34 | dotnet build **/*/project.json -r ubuntu.16.04-x64 |
| 35 | |
| 36 | :eof |