File: bullet_tasks.rake

package info (click to toggle)
ruby-bullet 7.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 836 kB
  • sloc: ruby: 6,133; javascript: 57; sh: 27; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

namespace :bullet do
  namespace :log do
    desc 'Truncates the bullet log file to zero bytes'
    task :clear do
      f = File.open('log/bullet.log', 'w')
      f.close
    end
  end
end