Standardizing project structure
This commit is contained in:
parent
adc97bb5d0
commit
80529bcf79
11 changed files with 582 additions and 21 deletions
18
Rakefile
Normal file
18
Rakefile
Normal file
|
@ -0,0 +1,18 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue