Sha256: d2536bfb25b108129141e93ccd0d5fd8a4140daae4330710542973f07eb05f48
Contents?: true
Size: 640 Bytes
Versions: 7
Compression:
Stored size: 640 Bytes
Contents
#!/usr/bin/env rake require 'bundler' Bundler::GemHelper.install_tasks require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task :test => :spec task :default => :spec namespace :doc do require 'yard' YARD::Rake::YardocTask.new do |task| task.files = ['LICENSE.md', 'lib/**/*.rb'] task.options = [ '--output-dir', 'doc/yard', '--markup', 'markdown', ] end end namespace :cache do require 'mlb' desc "Update the teams file cache" task :update do doc = MLB::Team.results_from_freebase(true) File.open('cache/teams.json', 'w') do |file| file.write(doc.body) end end end
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
mlb-0.6.1 | Rakefile |
mlb-0.6.0 | Rakefile |
mlb-0.5.9 | Rakefile |
mlb-0.5.8 | Rakefile |
mlb-0.5.7 | Rakefile |
mlb-0.5.6 | Rakefile |
mlb-0.5.5 | Rakefile |