Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 25 lines (20 sloc) 0.636 kb
e81b4c9 Josep M. Bach import script
authored
1 require 'bundler'
2 Bundler::GemHelper.install_tasks
2466c7d Josep M. Bach Add some readme and a bit of output
authored
3
4 require 'rake/testtask'
5 desc "Run Rexpl tests"
6 Rake::TestTask.new do |t|
7 t.libs << "test"
8 t.test_files = FileList['test/**/*_test.rb']
9 t.verbose = true
10 end
11
12 require 'yard'
13 YARD::Rake::YardocTask.new(:docs) do |t|
14 t.files = ['lib/**/*.rb']
15 t.options = ['-m', 'markdown', '--no-private', '-r', 'Readme.md', '--title', 'Rexpl documentation']
16 end
17 task :doc => [:docs]
18
19 desc "Generate and open class diagram (needs Graphviz installed)"
20 task :graph do |t|
21 `bundle exec yard graph -d --full --no-private | dot -Tpng -o graph.png && open graph.png`
22 end
23
24 task :default => [:test]
Something went wrong with that request. Please try again.