mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-01 22:42:55 +08:00
Do not call bundler directly, and pass verbose output to targets
This commit is contained in:
committed by
Eloy Durán
parent
af74d4294f
commit
1f4d280da9
@@ -52,7 +52,10 @@ module Motion; module Project
|
||||
end
|
||||
end
|
||||
|
||||
success = system("cd #{@full_path} && #{environment_variables} bundle exec rake #{command}")
|
||||
args = ''
|
||||
args << " --trace" if App::VERBOSE
|
||||
|
||||
success = system("cd #{@full_path} && #{environment_variables} rake #{command} #{args}")
|
||||
unless success
|
||||
App.fail "Target '#{@path}' failed to build"
|
||||
end
|
||||
|
||||
@@ -52,7 +52,10 @@ module Motion; module Project
|
||||
end
|
||||
end
|
||||
|
||||
success = system("cd #{@full_path} && #{environment_variables} bundle exec rake #{command}")
|
||||
args = ''
|
||||
args << " --trace" if App::VERBOSE
|
||||
|
||||
success = system("cd #{@full_path} && #{environment_variables} rake #{command} #{args}")
|
||||
unless success
|
||||
App.fail "Target '#{@path}' failed to build"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user