Sha256: 5fa6da8099048aa7c6f759a966720242a43084d45dd56466bb98908973f650a7

Contents?: true

Size: 745 Bytes

Versions: 17

Compression:

Stored size: 745 Bytes

Contents

require 'rubygems'
require 'rake'

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
	test.libs << 'lib' << 'test'
	test.pattern = 'test/**/test_*.rb'
	test.verbose = true
end

begin
	require 'rcov/rcovtask'
	Rcov::RcovTask.new do |test|
		test.libs << 'test'
		test.pattern = 'test/**/test_*.rb'
		test.verbose = true
	end
rescue LoadError
	task :rcov do
		abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
	end
end

require 'rdoc/task'
RDoc::Task.new do |rdoc|
	version = File.exist?('VERSION') ? File.read('VERSION') : ""

	rdoc.rdoc_dir = 'rdoc'
	rdoc.title = "datasift #{version}"
	rdoc.rdoc_files.include('README*')
	rdoc.rdoc_files.include('lib/**/*.rb')
end

task :default => :test

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
datasift-2.1.1 Rakefile
datasift-2.1.0 Rakefile
datasift-2.1.0.beta Rakefile
datasift-2.0.4 Rakefile
datasift-2.0.3 Rakefile
datasift-2.0.2 Rakefile
datasift-2.0.1 Rakefile
datasift-2.0.0 Rakefile
datasift-1.5.0 Rakefile
datasift-1.4.1 Rakefile
datasift-1.4.0 Rakefile
datasift-1.3.1 Rakefile
datasift-1.3.0 Rakefile
datasift-1.2.1 Rakefile
datasift-1.2.0 Rakefile
datasift-1.1.0 Rakefile
datasift-1.0.0 Rakefile