19 lines
366 B
Ruby
19 lines
366 B
Ruby
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/tc_*.rb']
|
|
t.verbose = true
|
|
end
|