forked from ericboesch/bitset
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
34 lines (28 loc) · 982 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
33
34
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/ericboesch/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,such as popcount.'
gem.email = "[email protected]"
gem.authors = ["Tyler McMullen"]
# Other significant contributions from Eric Boesch, Gabriel Formica, and Brendon McLean.
end
Jeweler::RubygemsDotOrgTasks.new
require 'rdoc/task'
RDoc::Task.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