Sha256: d11df1e19a6afed3cbe59095a56201550c2f712e1274d915899e92817bd0517c
Contents?: true
Size: 784 Bytes
Versions: 2
Compression:
Stored size: 784 Bytes
Contents
require 'bundler' Bundler::GemHelper.install_tasks task :erd do `bundle exec ruby ./etc/erd.rb > ./etc/erd.dot` `dot -Tpng ./etc/erd.dot -o ./etc/erd.png` `open ./etc/erd.png` end require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task :test => :spec begin require 'rubocop/rake_task' Rubocop::RakeTask.new rescue LoadError desc 'Run RuboCop' task :rubocop do $stderr.puts 'Rubocop is disabled' end end require 'yard' YARD::Rake::YardocTask.new require 'yardstick/rake/measurement' Yardstick::Rake::Measurement.new do |measurement| measurement.output = 'measurement/report.txt' end require 'yardstick/rake/verify' Yardstick::Rake::Verify.new do |verify| verify.threshold = 59.9 end task :default => [:spec, :rubocop, :verify_measurements]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
twitter-5.4.1 | Rakefile |
twitter-5.4.0 | Rakefile |