Commit 32c28d27 authored by Antonio Terceiro's avatar Antonio Terceiro

Add basic Rakefile to run tests

parent b43e95e1
Makefile
*.so
require 'rake/testtask'
Rake::TestTask.new(:default) do |t|
t.libs << "test" << "ext/debian_version"
t.test_files = `grep -l test/unit t/*.rb`.split
t.verbose = true
end
task :default => 'ext/debian_version/debian_version.so'
file 'ext/debian_version/debian_version.so' => FileList['ext/debian_version/*.{.cpp,rb}'] do
chdir 'ext/debian_version' do
ruby 'extconf.rb'
sh 'make'
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment