Sha256: 9bc132ccba0e8037b5394ae624ad077164ad9f26cf05a9e1f5232b78acc58068

Contents?: true

Size: 980 Bytes

Versions: 1

Compression:

Stored size: 980 Bytes

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "mite.cmd"
    gem.executables = "mite"
    gem.summary = "A simple command line interface for basic mite tasks."
    gem.email = "l.rieder@gmail.com"
    gem.homepage = "http://github.com/Overbryd/mite.cmd"
    gem.description = "A simple command line interface for mite, a sleek time tracking webapp."
    gem.authors = ["Lukas Rieder"]
  end
  Jeweler::RubygemsDotOrgTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

task :spec do
  spec_files = Dir.glob('spec/**/*_spec.rb').join(' ')
  sh "spec #{spec_files} --format specdoc --color"
end
task :default => :spec

task :rcov do
  sh "rake run_rcov && open coverage/index.html"
end
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:run_rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mite.cmd-0.1.12 Rakefile