mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-06-13 01:29:00 +08:00
dup the option hash as we are deleting stuff from it and might have to reuse it in case we build for a different mode (dev+release)
This commit is contained in:
committed by
Watson
parent
f0cc8b08ba
commit
14f0cb174d
@@ -38,7 +38,7 @@ module Motion; module Project;
|
||||
|
||||
def build(platform)
|
||||
App.info 'Build', @path
|
||||
send gen_method('build'), platform, @opts
|
||||
send gen_method('build'), platform, @opts.dup
|
||||
if @libs.empty?
|
||||
App.fail "Building vendor project `#{@path}' failed to create at least one `.a' library."
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user