Skip to content
This repository
Newer
Older
100644 28 lines (22 sloc) 0.506 kb
6aab497a » Peter Ohler
2011-09-02 travis scripts
1 #!/usr/bin/env rake
2
3 require 'rake'
0f7fb75d » Peter Ohler
2011-09-26 testing out rakefile
4 require 'rake/testtask'
6aab497a » Peter Ohler
2011-09-02 travis scripts
5 require 'yard'
6
0f7fb75d » Peter Ohler
2011-09-26 testing out rakefile
7 task :default => :build
8
86007e72 » Peter Ohler
2011-09-26 trying to get travis to work with rake
9 task :build => :test
6aab497a » Peter Ohler
2011-09-02 travis scripts
10
11 YARD::Rake::YardocTask.new(:doc) do |y|
12 # use defaults
13 end
14
86007e72 » Peter Ohler
2011-09-26 trying to get travis to work with rake
15 namespace :compile do
16 require 'rake/extensiontask'
17 Rake::ExtensionTask.new do |ext|
18 ext.name = 'ox'
19 ext.ext_dir = 'ext/ox'
20 # ext.lib_dir = 'lib/ox'
21 ext.lib_dir = 'ext/ox'
22 end
0f7fb75d » Peter Ohler
2011-09-26 testing out rakefile
23 end
24
25 Rake::TestTask.new(:test) do |t|
26 t.test_files = FileList['test/func.rb', 'test/sax_test.rb']
27 t.verbose = true
6aab497a » Peter Ohler
2011-09-02 travis scripts
28 end
Something went wrong with that request. Please try again.