Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HiveHiveEngine/HeuristicLab.ExtLibs/HeuristicLab.ProtobufCS/0.9.1/ProtobufCS/mono/generatesource.sh @ 9844

Last change on this file since 9844 was 3857, checked in by abeham, 15 years ago

#866

  • Added protobuf-csharp-port project source to ExtLibs
File size: 1.0 KB
Line 
1#!/bin/bash
2
3echo Compiling protobufs
4rm -rf tmp
5mkdir tmp
6PROTOS_DIR=../protos
7
8./protoc --proto_path=$PROTOS_DIR --descriptor_set_out=tmp/compiled.pb \
9  $PROTOS_DIR/google/protobuf/descriptor.proto \
10  $PROTOS_DIR/google/protobuf/csharp_options.proto \
11  $PROTOS_DIR/google/protobuf/unittest.proto \
12  $PROTOS_DIR/google/protobuf/unittest_csharp_options.proto \
13  $PROTOS_DIR/google/protobuf/unittest_custom_options.proto \
14  $PROTOS_DIR/google/protobuf/unittest_embed_optimize_for.proto \
15  $PROTOS_DIR/google/protobuf/unittest_import.proto \
16  $PROTOS_DIR/google/protobuf/unittest_mset.proto \
17  $PROTOS_DIR/google/protobuf/unittest_optimize_for.proto \
18  $PROTOS_DIR/tutorial/addressbook.proto
19
20cd tmp
21echo Generating new source
22mono ../bin/ProtoGen.exe compiled.pb
23
24echo Copying source into place
25cp DescriptorProtoFile.cs CSharpOptions.cs ../../src/ProtocolBuffers/DescriptorProtos
26cp UnitTest*.cs ../../src/ProtocolBuffers.Test/TestProtos
27cp AddressBookProtos.cs ../../src/AddressBook
28cd ..
29rm -rf tmp
Note: See TracBrowser for help on using the repository browser.