Sha256: 473b2df5853c7cfc949bc9b17f7f42938bef7ed98690d8eef8ff5986626929b1

Contents?: true

Size: 426 Bytes

Versions: 1

Compression:

Stored size: 426 Bytes

Contents

class Fix

  #
  # Fix the no branch warning when currently no branch
  # is selected in some submodules
  #   +project+ the project to install its bundle
  #
  def self.no_branch(project)
      project.submodules.each do |submodule|
        if submodule.branch.empty?
          puts "***".blue + "Fix submodule ".dark_green + "'#{submodule.to_s}'".yellow
          submodule.checkout(:master)
        end

    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
netzpirat-subito-0.1.0 lib/helper/fix.rb