Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (19 sloc) 0.509 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
task :default => :test do
end
Jump to Line
Something went wrong with that request. Please try again.