Sha256: 71b520b219d161fa0af8d4b12b1e1410670bfefe04f3e3f0b76c99eadeca372a

Contents?: true

Size: 446 Bytes

Versions: 1

Compression:

Stored size: 446 Bytes

Contents

# $Id: notes.rake 200 2008-03-12 16:05:17Z tim_pease $

if HAVE_BONES

desc "Enumerate all annotations"
task :notes do
  Bones::AnnotationExtractor.enumerate(
      PROJ, PROJ.notes.tags.join('|'), :tag => true)
end

namespace :notes do
  PROJ.notes.tags.each do |tag|
    desc "Enumerate all #{tag} annotations"
    task tag.downcase.to_sym do
      Bones::AnnotationExtractor.enumerate(PROJ, tag)
    end
  end
end

end  # if HAVE_BONES

# EOF

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webby-0.8.2 tasks/notes.rake