Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 50 lines (40 sloc) 1.224 kb
4e46d73 Rafael Magana basic operations - add, delete, list, edit
authored
1 # -*- encoding: utf-8 -*-
3c46f20 Rafael Magana Initial commit to dooby.
authored
2 require 'rubygems'
7b24f9a Rafael Magana update Rakefile to use rspec
authored
3 require 'bundler'
3c46f20 Rafael Magana Initial commit to dooby.
authored
4
5 begin
c9c4332 Rafael Magana fix dependency duplication
authored
6 Bundler.setup(:development, :runtime)
7b24f9a Rafael Magana update Rakefile to use rspec
authored
7 rescue Bundler::BundlerError => e
8 $stderr.puts e.message
9 $stderr.puts "Run `bundle install` to install missing gems"
10 exit e.status_code
3c46f20 Rafael Magana Initial commit to dooby.
authored
11 end
7b24f9a Rafael Magana update Rakefile to use rspec
authored
12 require 'rake'
3c46f20 Rafael Magana Initial commit to dooby.
authored
13
7b24f9a Rafael Magana update Rakefile to use rspec
authored
14 require 'jeweler'
15
16 Jeweler::Tasks.new do |gem|
17 gem.name = "dooby"
18 gem.summary = %Q{A very simplistic command-line to-do list manager in Ruby}
19 gem.description = %Q{Handle your to-do/notes list through the command line}
20 gem.email = "raf.magana@gmail.com"
21 gem.homepage = "http://github.com/rafmagana/dooby"
22 gem.authors = ["Rafael Magaña"]
3c46f20 Rafael Magana Initial commit to dooby.
authored
23 end
c9c4332 Rafael Magana fix dependency duplication
authored
24
7b24f9a Rafael Magana update Rakefile to use rspec
authored
25 Jeweler::RubygemsDotOrgTasks.new
3c46f20 Rafael Magana Initial commit to dooby.
authored
26
7b24f9a Rafael Magana update Rakefile to use rspec
authored
27 require 'rspec/core'
28 require 'rspec/core/rake_task'
29 RSpec::Core::RakeTask.new(:spec) do |spec|
30 spec.pattern = FileList['spec/**/*_spec.rb']
3c46f20 Rafael Magana Initial commit to dooby.
authored
31 end
32
7b24f9a Rafael Magana update Rakefile to use rspec
authored
33 RSpec::Core::RakeTask.new(:rcov) do |spec|
34 spec.pattern = 'spec/**/*_spec.rb'
35 spec.rcov = true
36 end
3c46f20 Rafael Magana Initial commit to dooby.
authored
37
7b24f9a Rafael Magana update Rakefile to use rspec
authored
38 task :default => :spec
3c46f20 Rafael Magana Initial commit to dooby.
authored
39
40 require 'rake/rdoctask'
41 Rake::RDocTask.new do |rdoc|
42 version = File.exist?('VERSION') ? File.read('VERSION') : ""
43
44 rdoc.rdoc_dir = 'rdoc'
45 rdoc.title = "dooby #{version}"
46 rdoc.rdoc_files.include('README*')
47 rdoc.rdoc_files.include('lib/**/*.rb')
48 end
4e46d73 Rafael Magana basic operations - add, delete, list, edit
authored
49
c9c4332 Rafael Magana fix dependency duplication
authored
50 task :bi => [:build, :install]
Something went wrong with that request. Please try again.