Sha256: 6ee63f9459037c624b065f0512d675c15434d767181e29f9af6e138393ef7d71
Contents?: true
Size: 800 Bytes
Versions: 7
Compression:
Stored size: 800 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 require 'bundler/setup' require 'chalk-rake/gem_tasks' require 'rake/testtask' Rake::TestTask.new do |t| t.libs = ['lib'] # t.warning = true t.verbose = true t.test_files = FileList['test/**/*.rb'].reject do |file| file.end_with?('_lib.rb') || file.include?('/_lib/') end end
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
einhorn-0.5.7 | Rakefile |
einhorn-0.5.6 | Rakefile |
einhorn-0.5.5 | Rakefile |
einhorn-0.5.4 | Rakefile |
einhorn-0.5.3 | Rakefile |
einhorn-0.5.2 | Rakefile |
einhorn-0.5.1 | Rakefile |