Sha256: d4abe9ebb785dcec574efc441976df7d1b37e9707fa5553cf9c95b35b9503bea

Contents?: true

Size: 649 Bytes

Versions: 560

Compression:

Stored size: 649 Bytes

Contents

if HAVE_BONES

desc "Enumerate all annotations"
task :notes do |t|
  id = if t.application.top_level_tasks.length > 1
    t.application.top_level_tasks.slice!(1..-1).join(' ')
  end
  Bones::AnnotationExtractor.enumerate(
      PROJ, PROJ.notes.tags.join('|'), id, :tag => true)
end

namespace :notes do
  PROJ.notes.tags.each do |tag|
    desc "Enumerate all #{tag} annotations"
    task tag.downcase.to_sym do |t|
      id = if t.application.top_level_tasks.length > 1
        t.application.top_level_tasks.slice!(1..-1).join(' ')
      end
      Bones::AnnotationExtractor.enumerate(PROJ, tag, id)
    end
  end
end

end  # if HAVE_BONES

# EOF

Version data entries

560 entries across 545 versions & 116 rubygems

Version Path
ffi-1.1.5-x86-mingw32 tasks/notes.rake
ffi-1.1.6.pre2-x86-mingw32 tasks/notes.rake
ffi-1.1.6.pre2 tasks/notes.rake
classiccms-0.5.15 vendor/bundle/gems/ffi-1.0.11/tasks/notes.rake
classiccms-0.5.14 vendor/bundle/gems/ffi-1.0.11/tasks/notes.rake
classiccms-0.5.13 vendor/bundle/gems/ffi-1.0.11/tasks/notes.rake
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/ffi-1.1.5/tasks/notes.rake
classiccms-0.5.12 vendor/bundle/gems/ffi-1.0.11/tasks/notes.rake
classiccms-0.5.11 vendor/bundle/gems/ffi-1.0.11/tasks/notes.rake
ffi-1.1.6.pre1 tasks/notes.rake
classiccms-0.5.10 vendor/bundle/gems/ffi-1.0.11/tasks/notes.rake
classiccms-0.5.9 vendor/bundle/gems/ffi-1.0.11/tasks/notes.rake
classiccms-0.5.8 vendor/bundle/gems/ffi-1.0.11/tasks/notes.rake
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/ffi-1.1.5/tasks/notes.rake
ffi-1.1.5-java tasks/notes.rake
classiccms-0.5.7 vendor/bundle/gems/ffi-1.0.11/tasks/notes.rake
ffi-1.1.5 tasks/notes.rake
classiccms-0.5.6 vendor/bundle/gems/ffi-1.0.11/tasks/notes.rake
cascading.jruby-0.0.9 tasks/notes.rake
ffi-1.1.4-java tasks/notes.rake