aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/src
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 /templates/src
parent91bac1155d91c7cc6650fa3803308218bfea3266 (diff)
Add modification warning to templated files
Diffstat (limited to 'templates/src')
-rw-r--r--templates/src/objective-c/!ProtoCompiler-gRPCPlugin.podspec.template8
-rw-r--r--templates/src/objective-c/GRPCClient/private/version.h.template5
2 files changed, 11 insertions, 2 deletions
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}"