Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 29 lines (22 sloc) 0.506 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
#!/usr/bin/env rake

require 'rake'
require 'rake/testtask'
require 'yard'

task :default => :build

task :build => :test

YARD::Rake::YardocTask.new(:doc) do |y|
  # use defaults
end

namespace :compile do
  require 'rake/extensiontask'
  Rake::ExtensionTask.new do |ext|
    ext.name = 'ox'
    ext.ext_dir = 'ext/ox'
    # ext.lib_dir = 'lib/ox'
    ext.lib_dir = 'ext/ox'
  end
end

Rake::TestTask.new(:test) do |t|
  t.test_files = FileList['test/func.rb', 'test/sax_test.rb']
  t.verbose = true
end
Something went wrong with that request. Please try again.