Merge pull request #3611 from nicolasnoble/stop-fighting

Making template agree with clang-format.
pull/3619/head
Michael Lumish 9 years ago
commit a8af908a4d
  1. 1
      gRPC.podspec
  2. 4
      src/core/surface/version.c
  3. 5
      templates/src/core/surface/version.c.template

@ -46,6 +46,7 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/grpc/grpc.git',
:tag => "release-#{version.gsub(/\./, '_')}-objectivec-#{version}" }
s.ios.deployment_target = '7.1'
s.osx.deployment_target = '10.9'
s.requires_arc = true

@ -36,6 +36,4 @@
#include <grpc/grpc.h>
const char *grpc_version_string(void) {
return "0.11.0.0";
}
const char *grpc_version_string(void) { return "0.11.0.0"; }

@ -38,6 +38,5 @@
#include <grpc/grpc.h>
const char *grpc_version_string(void) {
return "${settings.version.major}.${settings.version.minor}.${settings.version.micro}.${settings.version.build}";
}
const char *grpc_version_string(void) { \
return "${settings.version.major}.${settings.version.minor}.${settings.version.micro}.${settings.version.build}"; }

Loading…
Cancel
Save