Просмотр исходного кода

Rename .CodeGen to .TestProtos in Makefile and script

Sydney Acksman 5 лет назад
Родитель
Сommit
b84929f7fb
2 измененных файлов с 16 добавлено и 16 удалено
  1. 15 15
      Makefile.am
  2. 1 1
      csharp/generate_protos.sh

+ 15 - 15
Makefile.am

@@ -127,21 +127,21 @@ csharp_EXTRA_DIST=                                                           \
   csharp/src/Google.Protobuf.Test/SampleMessages.cs                          \
   csharp/src/Google.Protobuf.Test/SampleMessages.cs                          \
   csharp/src/Google.Protobuf.Test/SampleNaNs.cs                              \
   csharp/src/Google.Protobuf.Test/SampleNaNs.cs                              \
   csharp/src/Google.Protobuf.Test/TestCornerCases.cs                         \
   csharp/src/Google.Protobuf.Test/TestCornerCases.cs                         \
-  csharp/src/Google.Protobuf.Test.CodeGen/ForeignMessagePartial.cs           \
-  csharp/src/Google.Protobuf.Test.CodeGen/MapUnittestProto3.cs               \
-  csharp/src/Google.Protobuf.Test.CodeGen/OldExtensions1.cs                  \
-  csharp/src/Google.Protobuf.Test.CodeGen/OldExtensions2.cs                  \
-  csharp/src/Google.Protobuf.Test.CodeGen/TestMessagesProto2.cs              \
-  csharp/src/Google.Protobuf.Test.CodeGen/TestMessagesProto3.cs              \
-  csharp/src/Google.Protobuf.Test.CodeGen/UnittestCustomOptionsProto3.cs     \
-  csharp/src/Google.Protobuf.Test.CodeGen/UnittestImportProto3.cs            \
-  csharp/src/Google.Protobuf.Test.CodeGen/UnittestImportPublicProto3.cs      \
-  csharp/src/Google.Protobuf.Test.CodeGen/UnittestImportPublic.cs            \
-  csharp/src/Google.Protobuf.Test.CodeGen/UnittestImport.cs                  \
-  csharp/src/Google.Protobuf.Test.CodeGen/UnittestIssues.cs                  \
-  csharp/src/Google.Protobuf.Test.CodeGen/UnittestProto3.cs                  \
-  csharp/src/Google.Protobuf.Test.CodeGen/UnittestWellKnownTypes.cs          \
-  csharp/src/Google.Protobuf.Test.CodeGen/Unittest.cs                        \
+  csharp/src/Google.Protobuf.Test.TestProtos/ForeignMessagePartial.cs           \
+  csharp/src/Google.Protobuf.Test.TestProtos/MapUnittestProto3.cs               \
+  csharp/src/Google.Protobuf.Test.TestProtos/OldExtensions1.cs                  \
+  csharp/src/Google.Protobuf.Test.TestProtos/OldExtensions2.cs                  \
+  csharp/src/Google.Protobuf.Test.TestProtos/TestMessagesProto2.cs              \
+  csharp/src/Google.Protobuf.Test.TestProtos/TestMessagesProto3.cs              \
+  csharp/src/Google.Protobuf.Test.TestProtos/UnittestCustomOptionsProto3.cs     \
+  csharp/src/Google.Protobuf.Test.TestProtos/UnittestImportProto3.cs            \
+  csharp/src/Google.Protobuf.Test.TestProtos/UnittestImportPublicProto3.cs      \
+  csharp/src/Google.Protobuf.Test.TestProtos/UnittestImportPublic.cs            \
+  csharp/src/Google.Protobuf.Test.TestProtos/UnittestImport.cs                  \
+  csharp/src/Google.Protobuf.Test.TestProtos/UnittestIssues.cs                  \
+  csharp/src/Google.Protobuf.Test.TestProtos/UnittestProto3.cs                  \
+  csharp/src/Google.Protobuf.Test.TestProtos/UnittestWellKnownTypes.cs          \
+  csharp/src/Google.Protobuf.Test.TestProtos/Unittest.cs                        \
   csharp/src/Google.Protobuf.Test/WellKnownTypes/AnyTest.cs                  \
   csharp/src/Google.Protobuf.Test/WellKnownTypes/AnyTest.cs                  \
   csharp/src/Google.Protobuf.Test/WellKnownTypes/DurationTest.cs             \
   csharp/src/Google.Protobuf.Test/WellKnownTypes/DurationTest.cs             \
   csharp/src/Google.Protobuf.Test/WellKnownTypes/FieldMaskTest.cs            \
   csharp/src/Google.Protobuf.Test/WellKnownTypes/FieldMaskTest.cs            \

+ 1 - 1
csharp/generate_protos.sh

@@ -45,7 +45,7 @@ $PROTOC -Isrc --csharp_out=csharp/src/Google.Protobuf \
 # and old_extensions2.proto, which are generated with an older version
 # and old_extensions2.proto, which are generated with an older version
 # of protoc.
 # of protoc.
 $PROTOC -Isrc -Icsharp/protos \
 $PROTOC -Isrc -Icsharp/protos \
-    --csharp_out=csharp/src/Google.Protobuf.Test.CodeGen \
+    --csharp_out=csharp/src/Google.Protobuf.Test.TestProtos \
     --descriptor_set_out=csharp/src/Google.Protobuf.Test/testprotos.pb \
     --descriptor_set_out=csharp/src/Google.Protobuf.Test/testprotos.pb \
     --include_source_info \
     --include_source_info \
     --include_imports \
     --include_imports \