-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
54 lines (43 loc) · 1.17 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# 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 'genfrag'
#task :default => 'spec:specdoc'
task :default => 'spec:run'
PROJ.name = 'genfrag'
PROJ.authors = 'Pjotr Prins and Trevor Wennblom'
PROJ.email = '[email protected]'
PROJ.url = 'http://genfrag.rubyforge.org'
PROJ.version = Genfrag::VERSION
PROJ.release_name = ''
PROJ.ruby_opts = %w[-W0]
PROJ.readme_file = 'README.rdoc'
PROJ.ignore_file = '.gitignore'
PROJ.exclude << 'genfrag.gemspec'
PROJ.exclude << '.git'
PROJ.dependencies = ['bio']
PROJ.rubyforge.name = 'genfrag'
PROJ.spec.opts << '--color'
PROJ.gem.extras[:post_install_message] = <<-MSG
--------------------------------------------
Genfrag installed
Type 'genfrag -h' for a list of commands
--------------------------------------------
MSG
task 'ann:prereqs' do
PROJ.name = 'Genfrag'
end
depend_on 'bio'
depend_on 'rake'
# EOF