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