gRPC-Core.podspec: Clarify where the template is

pull/6849/head
Jorge Canizales 9 years ago
parent 3775074c86
commit 667557f22b
  1. 12
      gRPC-Core.podspec
  2. 12
      templates/gRPC-Core.podspec.template

@ -1,8 +1,7 @@
# GRPC CocoaPods podspec # GRPC CocoaPods podspec
# This file has been automatically generated from a template file. # This file has been automatically generated from a template file. Please make modifications to
# Please look at the templates directory instead. # `templates/gRPC-Core.podspec.template` instead. This file can be regenerated from the template by
# This file can be regenerated from the template by running # running `tools/buildgen/generate_projects.sh`.
# tools/buildgen/generate_projects.sh
# Copyright 2015, Google Inc. # Copyright 2015, Google Inc.
# All rights reserved. # All rights reserved.
@ -86,8 +85,9 @@ Pod::Spec.new do |s|
# A module map is necessary for a dynamic framework to be correctly created by Cocoapods. # A module map is necessary for a dynamic framework to be correctly created by Cocoapods.
s.module_map = 'include/grpc/module.modulemap' s.module_map = 'include/grpc/module.modulemap'
# List of source files generated by a template. To save you from scrolling, this is the last part # List of source files generated by a template: `templates/gRPC-Core.podspec.template`. It can be
# of the podspec. # regenerated from the template by running `tools/buildgen/generate_projects.sh`.
# To save you from scrolling, this is the last part of the podspec.
s.source_files = 'src/core/lib/profiling/timers.h', s.source_files = 'src/core/lib/profiling/timers.h',
'src/core/lib/support/backoff.h', 'src/core/lib/support/backoff.h',
'src/core/lib/support/block_annotate.h', 'src/core/lib/support/block_annotate.h',

@ -1,10 +1,9 @@
%YAML 1.2 %YAML 1.2
--- | --- |
# GRPC CocoaPods podspec # GRPC CocoaPods podspec
# This file has been automatically generated from a template file. # This file has been automatically generated from a template file. Please make modifications to
# Please look at the templates directory instead. # `templates/gRPC-Core.podspec.template` instead. This file can be regenerated from the template by
# This file can be regenerated from the template by running # running `tools/buildgen/generate_projects.sh`.
# tools/buildgen/generate_projects.sh
# Copyright 2015, Google Inc. # Copyright 2015, Google Inc.
# All rights reserved. # All rights reserved.
@ -104,8 +103,9 @@
# A module map is necessary for a dynamic framework to be correctly created by Cocoapods. # A module map is necessary for a dynamic framework to be correctly created by Cocoapods.
s.module_map = 'include/grpc/module.modulemap' s.module_map = 'include/grpc/module.modulemap'
# List of source files generated by a template. To save you from scrolling, this is the last part # List of source files generated by a template: `templates/gRPC-Core.podspec.template`. It can be
# of the podspec. # regenerated from the template by running `tools/buildgen/generate_projects.sh`.
# To save you from scrolling, this is the last part of the podspec.
s.source_files = ${(',\n' + 19*' ').join('\'%s\'' % f for f in grpc_files(libs))} s.source_files = ${(',\n' + 19*' ').join('\'%s\'' % f for f in grpc_files(libs))}
s.private_header_files = ${(',\n' + 27*' ').join('\'%s\'' % f for f in grpc_private_headers(libs))} s.private_header_files = ${(',\n' + 27*' ').join('\'%s\'' % f for f in grpc_private_headers(libs))}

Loading…
Cancel
Save