Sha256: b985f9961f88fc945ba23a2e52301e86098500b05ea5290d7250d30020c17d0e

Contents?: true

Size: 574 Bytes

Versions: 10

Compression:

Stored size: 574 Bytes

Contents

desc "Internal hobo debugging tools"
hidden true
namespace 'hobo-debug'  do

  desc "Display project paths"
  project_only
  task "paths" do
    Hobo.ui.info "<%=color('Project path:', :green)%> " + Hobo.project_path
    {
      :gemfile => "*Gemfile",
      :vagrantfile => "*Vagrantfile",
      :cheffile => "*Cheffile",
      :'composer.json' => "composer.json"
    }.each do |k,v|
      path = nil
      locate v do |file, full_file|
        path = full_file
      end
      Hobo.ui.info "<%=color('#{k.to_s}:', :green) %> #{path.nil? ? "none" : path}"
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hobo-inviqa-0.0.9 lib/hobo/tasks/debug.rb
hobo-inviqa-0.0.9.pre.rc2 lib/hobo/tasks/debug.rb
hobo-inviqa-0.0.9.pre.rc1 lib/hobo/tasks/debug.rb
hobo-inviqa-0.0.9.pre.alpha lib/hobo/tasks/debug.rb
hobo-inviqa-0.0.8 lib/hobo/tasks/debug.rb
hobo-inviqa-0.0.7.pre.rc3 lib/hobo/tasks/debug.rb
hobo-inviqa-0.0.7.pre.rc2 lib/hobo/tasks/debug.rb
hobo-inviqa-0.0.7.pre.rc1 lib/hobo/tasks/debug.rb
hobo-inviqa-0.0.7 lib/hobo/tasks/debug.rb
hobo-inviqa-0.0.6 lib/hobo/tasks/debug.rb