Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 50 lines (42 sloc) 1.324 kb
ae539a7 @kristianmandrup Initial commit to project-synch.
authored
1 # encoding: utf-8
2
3 require 'rubygems'
4 require 'bundler'
5 begin
6 Bundler.setup(:default, :development)
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
11 end
12 require 'rake'
13
14 require 'jeweler'
15 Jeweler::Tasks.new do |gem|
16 # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17 gem.name = "project-synch"
18 gem.homepage = "http://github.com/kristianmandrup/project-synch"
19 gem.license = "MIT"
20 gem.summary = %Q{TODO: one-line summary of your gem}
21 gem.description = %Q{TODO: longer description of your gem}
22 gem.email = "kmandrup@gmail.com"
23 gem.authors = ["Kristian Mandrup"]
24 # dependencies defined in Gemfile
25 end
26 Jeweler::RubygemsDotOrgTasks.new
27
28 require 'rspec/core'
29 require 'rspec/core/rake_task'
30 RSpec::Core::RakeTask.new(:spec) do |spec|
31 spec.pattern = FileList['spec/**/*_spec.rb']
32 end
33
34 RSpec::Core::RakeTask.new(:rcov) do |spec|
35 spec.pattern = 'spec/**/*_spec.rb'
36 spec.rcov = true
37 end
38
39 task :default => :spec
40
41 require 'rdoc/task'
42 Rake::RDocTask.new do |rdoc|
43 version = File.exist?('VERSION') ? File.read('VERSION') : ""
44
45 rdoc.rdoc_dir = 'rdoc'
46 rdoc.title = "project-synch #{version}"
47 rdoc.rdoc_files.include('README*')
48 rdoc.rdoc_files.include('lib/**/*.rb')
49 end
Something went wrong with that request. Please try again.