Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (27 sloc) 769 Bytes
namespace :ditz do
desc "Show current issue status overview"
task :status do
system 'ditz status'
end
desc "Show currently open issues"
task :todo do
system 'ditz todo'
end
desc "Show recent issue activity"
task :log do
system 'ditz log'
end
# desc "Generate issues to meta/issues"
task :html do
# `'d instead of system'd, because I don't want that output cluttering shit
`ditz html meta/issues`
end
# desc "Opens meta/issues in your main browser, if you are using a Macintosh"
task :'html:open' do
system 'open ' + :meta / :issues / 'index.html' if PLATFORM['darwin']
end
desc "Stage all issues to git (to be run before commiting, or just use aok)"
task :stage do
system 'git-add bugs/*'
end
end