Sha256: cb4af2e6923d90c120dd1bab4d743ac88fae45667d68960effff6fb1d7386fbe

Contents?: true

Size: 980 Bytes

Versions: 6

Compression:

Stored size: 980 Bytes

Contents

require 'big_keeper/command/pod/podfile'

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|
          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|
          path = File.expand_path(global_options[:path])
          podfile_lock(path)
        end
      end

      podfile.desc 'Update modules should be upgrade.'
      podfile.command :update do |lock|
        lock.action do |global_options, options, args|
          path = File.expand_path(global_options[:path])
          podfile_modules_update(path)
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bigkeeper-0.8.6 lib/big_keeper/command/pod.rb
bigkeeper-0.8.5 lib/big_keeper/command/pod.rb
bigkeeper-0.8.4 lib/big_keeper/command/pod.rb
bigkeeper-0.8.3 lib/big_keeper/command/pod.rb
bigkeeper-0.8.2 lib/big_keeper/command/pod.rb
bigkeeper-0.8.1 lib/big_keeper/command/pod.rb