-
Notifications
You must be signed in to change notification settings - Fork 20
/
Rakefile
32 lines (27 loc) · 901 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
require 'rake'
require 'rubygems'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = ["--color"]
t.fail_on_error = false
end
task :default => :spec
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "bitset"
gem.homepage = "http://github.com/tyler/bitset"
gem.license = "MIT"
gem.summary = 'Bitset implementation.'
gem.description = 'A fast C-based Bitset. It supports the standard set operations as well as operations you may expect on bit arrays. (popcount, for instance)'
gem.email = "[email protected]"
gem.authors = ["Tyler McMullen"]
end
Jeweler::RubygemsDotOrgTasks.new
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "bitset #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('ext/**/*.c')
end