Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 20 lines (17 sloc) 0.478 kb
3cc1e1e @gdb Initial import of Einhorn
gdb authored
1 #!/usr/bin/env rake
2 require 'bundler/gem_tasks'
3 require 'rake/testtask'
4
5 desc 'Rebuild the README with the latest usage from einhorn'
6 task :readme do
7 Dir.chdir(File.dirname(__FILE__))
8 readme = File.read('README.md.in')
9 usage = `bin/einhorn -h`
10 readme.gsub!('[[usage]]', usage)
11 File.open('README.md', 'w') {|f| f.write(readme)}
12 end
13
14 Rake::TestTask.new do |t|
15 t.libs = ["lib"]
16 # t.warning = true
17 t.verbose = true
18 t.test_files = FileList['test/unit/**/*.rb']
19 end
Something went wrong with that request. Please try again.