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
miketracy-wwmd-0.2.14 tasks/notes.rake
miketracy-wwmd-0.2.15 tasks/notes.rake
miketracy-wwmd-0.2.16 tasks/notes.rake
miketracy-wwmd-0.2.17 tasks/notes.rake
miketracy-wwmd-0.2.19 tasks/notes.rake
remogatto-ffi-generator-0.1.0 tasks/notes.rake
remogatto-ffi-generator-0.2.0 tasks/notes.rake
remogatto-ffi-opengl-0.1.0 tasks/notes.rake
remogatto-ffi-opengl-0.2.0 tasks/notes.rake
remogatto-ffi-opengl-0.2.1 tasks/notes.rake
remogatto-ffi-swig-generator-0.1.0 tasks/notes.rake
remogatto-ffi-swig-generator-0.2.0 tasks/notes.rake
remogatto-ffi-swig-generator-0.2.1 tasks/notes.rake
tduehr-libmatty-0.9.0 tasks/notes.rake
tduehr-ragweed-0.1.5 tasks/notes.rake
tduehr-ragweed-0.1.6 tasks/notes.rake
tduehr-ragweed-0.1.7.1 tasks/notes.rake
tduehr-ragweed-0.1.7.2 tasks/notes.rake
tduehr-ragweed-0.1.7 tasks/notes.rake
rbkb-0.7.2 tasks/notes.rake