aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-01-30 09:21:05 -0800
committerGravatar Muxi Yan <mxyan@google.com>2017-01-30 09:22:30 -0800
commit27e9db4393431abb44b83e9844570bee352c80ff (patch)
tree96ebaf40d280481a09b00c91798fdf71bf1a2378
parent91bac1155d91c7cc6650fa3803308218bfea3266 (diff)
Add modification warning to templated files
-rw-r--r--gRPC-Core.podspec10
-rw-r--r--gRPC-ProtoRPC.podspec6
-rw-r--r--gRPC-RxLibrary.podspec6
-rw-r--r--gRPC.podspec5
-rw-r--r--src/objective-c/!ProtoCompiler-gRPCPlugin.podspec8
-rw-r--r--src/objective-c/GRPCClient/private/version.h3
-rw-r--r--templates/gRPC-Core.podspec.template10
-rw-r--r--templates/gRPC-ProtoRPC.podspec.template6
-rw-r--r--templates/gRPC-RxLibrary.podspec.template6
-rw-r--r--templates/gRPC.podspec.template5
-rw-r--r--templates/src/objective-c/!ProtoCompiler-gRPCPlugin.podspec.template8
-rw-r--r--templates/src/objective-c/GRPCClient/private/version.h.template5
12 files changed, 67 insertions, 11 deletions
diff --git a/gRPC-Core.podspec b/gRPC-Core.podspec
index 435de1b8d0..0654c8e162 100644
--- a/gRPC-Core.podspec
+++ b/gRPC-Core.podspec
@@ -1,8 +1,10 @@
-# GRPC CocoaPods podspec
-# This file has been automatically generated from a template file. Please make modifications to
-# `templates/gRPC-Core.podspec.template` instead. This file can be regenerated from the template by
-# running `tools/buildgen/generate_projects.sh`.
+# This file has been automatically generated from a template file.
+# Please make modifications to `templates/gRPC-Core.podspec.template`
+# instead. This file can be regenerated from the template by running
+# `tools/buildgen/generate_projects.sh`.
+# gRPC Core CocoaPods podspec
+#
# Copyright 2015, Google Inc.
# All rights reserved.
#
diff --git a/gRPC-ProtoRPC.podspec b/gRPC-ProtoRPC.podspec
index 4f061d3092..85947a7176 100644
--- a/gRPC-ProtoRPC.podspec
+++ b/gRPC-ProtoRPC.podspec
@@ -1,3 +1,9 @@
+# This file has been automatically generated from a template file.
+# Please make modifications to
+# `templates/gRPC-ProtoRPC.podspec.template` instead. This file can be
+# regenerated from the template by running
+# `tools/buildgen/generate_projects.sh`.
+
# Copyright 2015, Google Inc.
# All rights reserved.
#
diff --git a/gRPC-RxLibrary.podspec b/gRPC-RxLibrary.podspec
index c8fdb8f3cc..293b90d004 100644
--- a/gRPC-RxLibrary.podspec
+++ b/gRPC-RxLibrary.podspec
@@ -1,3 +1,9 @@
+# This file has been automatically generated from a template file.
+# Please make modifications to
+# `templates/gRPC-RxLibrary.podspec.template` instead. This file can be
+# regenerated from the template by running
+# `tools/buildgen/generate_projects.sh`.
+
# Copyright 2015, Google Inc.
# All rights reserved.
#
diff --git a/gRPC.podspec b/gRPC.podspec
index 8f26dcfc4d..04f228e16e 100644
--- a/gRPC.podspec
+++ b/gRPC.podspec
@@ -1,3 +1,8 @@
+# This file has been automatically generated from a template file.
+# Please make modifications to `templates/gRPC.podspec.template`
+# instead. This file can be regenerated from the template by running
+# `tools/buildgen/generate_projects.sh`.
+
# Copyright 2015, Google Inc.
# All rights reserved.
#
diff --git a/src/objective-c/!ProtoCompiler-gRPCPlugin.podspec b/src/objective-c/!ProtoCompiler-gRPCPlugin.podspec
index 09cf93d2a4..cbe8f4b607 100644
--- a/src/objective-c/!ProtoCompiler-gRPCPlugin.podspec
+++ b/src/objective-c/!ProtoCompiler-gRPCPlugin.podspec
@@ -1,5 +1,11 @@
-# CocoaPods podspec for the gRPC Proto Compiler Plugin
+# This file has been automatically generated from a template file.
+# Please make modifications to
+# `templates/src/objective-c/!ProtoCompiler-gRPCPlugin.podspec.template`
+# instead. This file can be regenerated from the template by running
+# `tools/buildgen/generate_projects.sh`.
+# CocoaPods podspec for the gRPC Proto Compiler Plugin
+#
# Copyright 2016, Google Inc.
# All rights reserved.
#
diff --git a/src/objective-c/GRPCClient/private/version.h b/src/objective-c/GRPCClient/private/version.h
index 55d38c235a..0d01dc31f7 100644
--- a/src/objective-c/GRPCClient/private/version.h
+++ b/src/objective-c/GRPCClient/private/version.h
@@ -31,4 +31,7 @@
*
*/
+/* This file is autogenerated from template:
+ * templates/src/objective-c/GRPCClient/private/version.h.template */
+
#define GRPC_OBJC_VERSION_STRING @"1.1.0-dev"
diff --git a/templates/gRPC-Core.podspec.template b/templates/gRPC-Core.podspec.template
index baa9f5497d..18dabb9603 100644
--- a/templates/gRPC-Core.podspec.template
+++ b/templates/gRPC-Core.podspec.template
@@ -1,10 +1,12 @@
%YAML 1.2
--- |
- # GRPC CocoaPods podspec
- # This file has been automatically generated from a template file. Please make modifications to
- # `templates/gRPC-Core.podspec.template` instead. This file can be regenerated from the template by
- # running `tools/buildgen/generate_projects.sh`.
+ # This file has been automatically generated from a template file.
+ # Please make modifications to `templates/gRPC-Core.podspec.template`
+ # instead. This file can be regenerated from the template by running
+ # `tools/buildgen/generate_projects.sh`.
+ # gRPC Core CocoaPods podspec
+ #
# Copyright 2015, Google Inc.
# All rights reserved.
#
diff --git a/templates/gRPC-ProtoRPC.podspec.template b/templates/gRPC-ProtoRPC.podspec.template
index 4b507d217c..5d7d90d231 100644
--- a/templates/gRPC-ProtoRPC.podspec.template
+++ b/templates/gRPC-ProtoRPC.podspec.template
@@ -1,5 +1,11 @@
%YAML 1.2
--- |
+ # This file has been automatically generated from a template file.
+ # Please make modifications to
+ # `templates/gRPC-ProtoRPC.podspec.template` instead. This file can be
+ # regenerated from the template by running
+ # `tools/buildgen/generate_projects.sh`.
+
# Copyright 2015, Google Inc.
# All rights reserved.
#
diff --git a/templates/gRPC-RxLibrary.podspec.template b/templates/gRPC-RxLibrary.podspec.template
index 99a40730fa..35a06c8a85 100644
--- a/templates/gRPC-RxLibrary.podspec.template
+++ b/templates/gRPC-RxLibrary.podspec.template
@@ -1,5 +1,11 @@
%YAML 1.2
--- |
+ # This file has been automatically generated from a template file.
+ # Please make modifications to
+ # `templates/gRPC-RxLibrary.podspec.template` instead. This file can be
+ # regenerated from the template by running
+ # `tools/buildgen/generate_projects.sh`.
+
# Copyright 2015, Google Inc.
# All rights reserved.
#
diff --git a/templates/gRPC.podspec.template b/templates/gRPC.podspec.template
index 8ccd1867dd..d33ce277dc 100644
--- a/templates/gRPC.podspec.template
+++ b/templates/gRPC.podspec.template
@@ -1,5 +1,10 @@
%YAML 1.2
--- |
+ # This file has been automatically generated from a template file.
+ # Please make modifications to `templates/gRPC.podspec.template`
+ # instead. This file can be regenerated from the template by running
+ # `tools/buildgen/generate_projects.sh`.
+
# Copyright 2015, Google Inc.
# All rights reserved.
#
diff --git a/templates/src/objective-c/!ProtoCompiler-gRPCPlugin.podspec.template b/templates/src/objective-c/!ProtoCompiler-gRPCPlugin.podspec.template
index 6c45fb45c0..80420af7db 100644
--- a/templates/src/objective-c/!ProtoCompiler-gRPCPlugin.podspec.template
+++ b/templates/src/objective-c/!ProtoCompiler-gRPCPlugin.podspec.template
@@ -1,7 +1,13 @@
%YAML 1.2
--- |
- # CocoaPods podspec for the gRPC Proto Compiler Plugin
+ # This file has been automatically generated from a template file.
+ # Please make modifications to
+ # `templates/src/objective-c/!ProtoCompiler-gRPCPlugin.podspec.template`
+ # instead. This file can be regenerated from the template by running
+ # `tools/buildgen/generate_projects.sh`.
+ # CocoaPods podspec for the gRPC Proto Compiler Plugin
+ #
# Copyright 2016, Google Inc.
# All rights reserved.
#
diff --git a/templates/src/objective-c/GRPCClient/private/version.h.template b/templates/src/objective-c/GRPCClient/private/version.h.template
index 07df286c8b..453604bdaa 100644
--- a/templates/src/objective-c/GRPCClient/private/version.h.template
+++ b/templates/src/objective-c/GRPCClient/private/version.h.template
@@ -32,5 +32,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
-
+
+ /* This file is autogenerated from template:
+ * templates/src/objective-c/GRPCClient/private/version.h.template */
+
#define GRPC_OBJC_VERSION_STRING @"${settings.version}"