File: Rakefile

package info (click to toggle)
ruby-xmlhash 1.3.6-3.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 140 kB
  • sloc: ansic: 205; ruby: 186; makefile: 6
file content (21 lines) | stat: -rw-r--r-- 531 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- ruby -*-

require 'rubygems'
require 'hoe'
require 'rake/extensiontask'

Hoe.spec 'xmlhash' do
  developer('Stephan Kulow', 'coolo@suse.com')
  self.readme_file = 'README.txt'
  self.license('MIT')
  self.spec_extras = { :extensions => ["ext/xmlhash/extconf.rb"] }
  self.extra_dev_deps << ['rake-compiler', '>= 0']
  self.extra_deps << ['pkg-config']
  Rake::ExtensionTask.new('xmlhash', spec) do |ext|
    ext.lib_dir = File.join('lib', 'xmlhash')
  end
end

Rake::Task[:test].prerequisites << :compile

# vim: syntax=ruby