Permalink
Browse files

[Cleanup] Move constant closer to code that uses it.

  • Loading branch information...
1 parent d931a75 commit a6ccd98a2d53ffe312cb61bfeef6f6956294d632 @alloy alloy committed May 7, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/cocoapods/installer/target_installer.rb
@@ -89,11 +89,6 @@ def add_target
library.target = @target
end
- ENABLE_OBJECT_USE_OBJC_FROM = {
- :ios => Version.new('6'),
- :osx => Version.new('10.8')
- }
-
# Adds the build files of the pods to the target and adds a reference to
# the frameworks of the Pods.
#
@@ -314,6 +309,11 @@ def add_file_to_support_group(path)
support_files_group.new_file(relative_path)
end
+ ENABLE_OBJECT_USE_OBJC_FROM = {
+ :ios => Version.new('6'),
+ :osx => Version.new('10.8')
+ }
+
# Returns the compiler flags for the source files of the given specification.
#
# The following behavior is regarding the `OS_OBJECT_USE_OBJC` flag. When

0 comments on commit a6ccd98

Please sign in to comment.