fastlane/lib/fastlane/plugins/plugin_manager.rb in fastlane-2.130.0.beta.20190822200101 vs fastlane/lib/fastlane/plugins/plugin_manager.rb in fastlane-2.130.0.beta.20190823200017
- old
+ new
@@ -176,10 +176,11 @@
puts("Installing plugin dependencies...")
ensure_plugins_attached!
with_clean_bundler_env do
cmd = "bundle install"
cmd << " --quiet" unless FastlaneCore::Globals.verbose?
+ cmd << " && bundle exec fastlane generate_swift" if FastlaneCore::FastlaneFolder.swift?
cmd << " && echo 'Successfully installed plugins'"
UI.command(cmd) if FastlaneCore::Globals.verbose?
exec(cmd)
end
end
@@ -195,9 +196,10 @@
end
with_clean_bundler_env do
cmd = "bundle update"
cmd << " #{plugins.join(' ')}"
cmd << " --quiet" unless FastlaneCore::Globals.verbose?
+ cmd << " && bundle exec fastlane generate_swift" if FastlaneCore::FastlaneFolder.swift?
cmd << " && echo 'Successfully updated plugins'"
UI.command(cmd) if FastlaneCore::Globals.verbose?
exec(cmd)
end
end