Sha256: 73b7df9f4b27c23c9f71f3714a7efe4f8d50892f5c33cab0e327b50cdd2f6ccc

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

namespace :plugin do
  desc "List installed plugins"
  task :list do
    Dir.glob( BIVOUAC_ROOT + '/plugins/**' ).each do |p|
      pn = p.gsub( /.*\//, "" )
      print "  - #{pn} : "
      Rake::Task["plugin:#{pn}:desc"].invoke
    end
  end
  
  Dir.glob( BIVOUAC_ROOT + '/plugins/**/tasks/**.rake' ).each { |p| load p }  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bivouac-0.3.0 lib/bivouac/tasks/plugins.rake