Sha256: d8bee7e3ffbb8a986a33ceb0dbffe43a222f185feb60fdac015032366f53e907
Contents?: true
Size: 1.19 KB
Versions: 13
Compression:
Stored size: 1.19 KB
Contents
require 'big_keeper/command/pod/podfile' require 'big_keeper/util/leancloud_logger' module BigKeeper def self.pod_command desc 'Podfile operation' command :podfile do |podfile| podfile.desc 'Podfile' podfile.desc 'Detect podname should be locked.' podfile.command :detect do |detect| detect.action do |global_options, options, args| LeanCloudLogger.instance.set_command("podfile/detect") path = File.expand_path(global_options[:path]) podfile_detect(path) end end podfile.desc 'Lock podname should be locked.' podfile.command :lock do |lock| lock.action do |global_options, options, args| LeanCloudLogger.instance.set_command("podfile/lock") path = File.expand_path(global_options[:path]) podfile_lock(path) end end podfile.desc 'Update modules should be upgrade.' podfile.command :update do |update| update.action do |global_options, options, args| LeanCloudLogger.instance.set_command("podfile/update") path = File.expand_path(global_options[:path]) podfile_modules_update(path) end end end end end
Version data entries
13 entries across 13 versions & 3 rubygems