-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
38 lines (31 loc) · 1.04 KB
/
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
35
36
37
38
# Look in the tasks/setup.rb file for the various options that can be
# configured in this Rakefile. The .rake files in the tasks directory
# are where the options are used.
begin
require 'bones'
Bones.setup
rescue LoadError
begin
load 'tasks/setup.rb'
rescue LoadError
raise RuntimeError, '### please install the "bones" gem ###'
end
end
ensure_in_path 'lib'
require 'bit-struct/bit-struct'
#task :default => 'spec:run'
PROJ.name = 'bit-struct'
PROJ.authors = 'Joel VanderWerf'
PROJ.email = '[email protected]'
PROJ.url = 'http://rubyforge.org/projects/bit-struct/'
PROJ.version = BitStruct::VERSION
PROJ.rubyforge.name = 'bit-struct'
PROJ.summary = "Library for packed binary data stored in ruby Strings"
PROJ.description = <<END
Library for packed binary data stored in ruby Strings. Useful for accessing fields in network packets and binary files.
END
PROJ.changes = File.read(PROJ.history_file)[/^\w.*?(?=^\w)/m]
PROJ.spec.opts << '--color'
PROJ.test.files = Dir["test/*.rb"]
task :release => ["gem:release", "doc:release"]
# EOF