Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 382 Bytes
#!/usr/bin/env rake
require 'bundler/gem_tasks'
require 'rake/extensiontask'
require 'rspec/core/rake_task'
require 'devkit' if Gem.win_platform?
RSpec::Core::RakeTask.new(:spec)
# Compile the extension
Rake::ExtensionTask.new('wdm_ext') do |ext|
ext.ext_dir = 'ext/wdm'
end
desc "Open an irb session preloaded with WDM"
task :console do
sh "irb -rubygems -I lib -r wdm"
end