require 'rake/extensiontask' require 'rake/testtask' require 'rubygems/package_task' spec = Gem::Specification.load('ruby-lxc.gemspec') Gem::PackageTask.new(spec) do |pkg| end Rake::ExtensionTask.new('lxc', spec) do |ext| ext.lib_dir = 'lib/lxc' end Rake::TestTask.new do |t| t.libs << 'test' t.test_files = FileList['test/test_*.rb'] t.verbose = true end