Commit e5e2498c authored by Fabio Pelosin's avatar Fabio Pelosin

[TargetHeader] Add warning.

parent a47b4439
......@@ -45,6 +45,7 @@ module Pod
#
def save_as(pathname)
pathname.open('w') do |source|
source.puts "// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future"
source.puts "#define __COCOA_PODS"
source.puts
specs.each do |specs|
......
......@@ -11,6 +11,7 @@ describe Pod::Generator::TargetHeader do
file = temporary_directory + 'PodsDummy.m'
@gen.save_as(file)
file.read.should == <<-EOS.strip_heredoc
// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future
#define __COCOA_PODS
#define __POD_BananaLib
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment