Sha256: 1af55d02d36a0060e1bce01232b49b6d781096f0b5990961da6999f2460a13e1
Contents?: true
Size: 1.11 KB
Versions: 3
Compression:
Stored size: 1.11 KB
Contents
require 'rake/testtask' Rake::TestTask.new :test do |t| t.pattern = "test/*.rb" t.warning = true end desc "Run demo scripts" task demo: [:test] do Dir['demo/*.rb'].each { |filepath| puts sh "ruby -w -Ilib #{filepath}" puts } end task default: :test # # METRICS # begin require 'flog_task' FlogTask.new do |t| t.threshold = 9000 t.dirs = ['lib'] t.verbose = true end rescue LoadError warn 'flog_task unavailable' end begin # need to stop looking in old/ and also the scoring seems wack if false require 'flay_task' FlayTask.new do |t| t.dirs = ['lib'] t.verbose = true end end rescue LoadError warn 'flay_task unavailable' end begin require 'roodi_task' # RoodiTask.new config: '.roodi.yml', patterns: ['lib/**/*.rb'] RoodiTask.new patterns: ['lib/**/*.rb'] rescue LoadError warn "roodi_task unavailable" end # # GEM BUILD / PUBLISH # begin require 'buildar' Buildar.new do |b| b.gemspec_file = 'driving_physics.gemspec' b.version_file = 'VERSION' b.use_git = true end rescue LoadError warn "buildar tasks unavailable" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
driving_physics-0.0.1.2 | Rakefile |
driving_physics-0.0.1.1 | Rakefile |
driving_physics-0.0.0.3 | Rakefile |