adding a gdb rake task

This commit is contained in:
Aaron Patterson 2010-07-09 10:18:25 -07:00
parent 6e38bff28d
commit 27cd68f456
1 changed files with 6 additions and 0 deletions

View File

@ -37,6 +37,12 @@ Spec::Rake::SpecTask.new('spec') do |t|
t.spec_opts << '--options' << 'spec/spec.opts'
end
Spec::Rake::SpecTask.new('spec:gdb') do |t|
t.spec_files = FileList['spec/']
t.spec_opts << '--options' << 'spec/spec.opts'
t.ruby_cmd = "gdb --args #{RUBY}"
end
Rake::ExtensionTask.new("mysql2", JEWELER.gemspec) do |ext|
ext.lib_dir = File.join 'lib', 'mysql2'
end