Sha256: 678f05233541b82e4b37ad752bc704fcbdac720acbdbb747adf5b75443269e4b

Contents?: true

Size: 509 Bytes

Versions: 8

Compression:

Stored size: 509 Bytes

Contents

#!/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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
einhorn-0.5.0 Rakefile
einhorn-0.4.9 Rakefile
einhorn-0.4.8 Rakefile
einhorn-0.4.7 Rakefile
einhorn-0.4.6 Rakefile
einhorn-0.4.5 Rakefile
einhorn-0.4.4 Rakefile
einhorn-0.4.3 Rakefile