Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (17 sloc) 0.478 kb
#!/usr/bin/env rake
require 'bundler/gem_tasks'
require 'rake/testtask'
desc 'Rebuild the README with the latest usage from einhorn'
task :readme do
Dir.chdir(File.dirname(__FILE__))
readme = File.read('README.md.in')
usage = `bin/einhorn -h`
readme.gsub!('[[usage]]', usage)
File.open('README.md', 'w') {|f| f.write(readme)}
end
Rake::TestTask.new do |t|
t.libs = ["lib"]
# t.warning = true
t.verbose = true
t.test_files = FileList['test/unit/**/*.rb']
end
Jump to Line
Something went wrong with that request. Please try again.