lib/cocoapods_plugin.rb in cocoapods-localzedLoader-0.1.5 vs lib/cocoapods_plugin.rb in cocoapods-localzedLoader-0.1.6
- old
+ new
@@ -1,10 +1,8 @@
require 'cocoapods-localzedLoader/command'
require_relative 'cocoapods-localzedLoader/ios_bundle_generate'
module CocoapodsGitHooks
Pod::HooksManager.register('cocoapods-localzedLoader', :pre_install) do |context|
- BundleGenerater.generate
- end
- Pod::HooksManager.register('cocoapods-localzedLoader', :pre_update) do |context|
- BundleGenerater.generate
+ args = ['gen', "--project-directory=#{Config.instance.installation_root}"]
+ Localzedloader::Command.run(args)
end
end
\ No newline at end of file