Sha256: e79d9de07f5f9a35b7b09edb6c81bfca74df430e30c9f38677bf115a9b9ebc0e
Contents?: true
Size: 1.24 KB
Versions: 1
Compression:
Stored size: 1.24 KB
Contents
require 'rake' require 'rake/testtask' require 'rake/rdoctask' begin require 'jeweler' Jeweler::Tasks.new do |s| s.name = "ffiruby-filemagic" s.summary = %Q{new implementation of the ancient ruby-filemagic gem. Uses FFI to talk to native library} s.email = "glongman@overlay.tv" s.homepage = "http://github.com/glongman-otv/ffiruby-filemagic" s.description = %Q{new implementation of the ancient ruby-filemagic gem. Uses FFI to talk to native library} s.authors = ["Geoff Longman"] s.add_dependency 'ffi' s.files = FileList["[A-Z]*", "{lib,test}/**/*"] end rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end Rake::TestTask.new do |t| t.libs << 'lib' t.pattern = 'test/**/*_test.rb' t.verbose = false end Rake::RDocTask.new do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'ffiruby-filemagic' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end begin require 'rcov/rcovtask' Rcov::RcovTask.new do |t| t.libs << 'test' t.test_files = FileList['test/**/*_test.rb'] t.verbose = true end rescue LoadError end task :default => :test
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
glongman-otv-ffiruby-filemagic-0.2.0 | Rakefile |