Skip to content

Commit

Permalink
make sure the builder archs does not contain duplicates for Extension…
Browse files Browse the repository at this point in the history
…/Framework
  • Loading branch information
Watson1978 committed Dec 11, 2014
1 parent 5093672 commit d1db6e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/motion/project/template/ios-extension-builder.rb
Expand Up @@ -85,7 +85,7 @@ def build(config, platform, opts)
config.xcode_dir = ENV['RM_TARGET_XCODE_DIR'] if ENV['RM_TARGET_XCODE_DIR']
if ENV['RM_TARGET_ARCHS']
eval(ENV['RM_TARGET_ARCHS']).each do |platform, archs|
config.archs[platform] = archs
config.archs[platform] = archs.uniq
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/motion/project/template/ios-framework/builder.rb
Expand Up @@ -38,7 +38,7 @@ def build(config, platform, opts)
config.xcode_dir = ENV['RM_TARGET_XCODE_DIR'] if ENV['RM_TARGET_XCODE_DIR']
if ENV['RM_TARGET_ARCHS']
eval(ENV['RM_TARGET_ARCHS']).each do |platform, archs|
config.archs[platform] = archs
config.archs[platform] = archs.uniq
end
end

Expand Down

0 comments on commit d1db6e3

Please sign in to comment.