Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (15 sloc) 0.42 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
require 'bundler'
Bundler::GemHelper.install_tasks

require 'rspec/core/rake_task'

desc 'Run all specs in spec directory'
RSpec::Core::RakeTask.new

task :merge do
  File.open('shelr', 'a+') { |f| f.puts "#/usr/bin/env ruby" }
  `cat lib/shelr.rb lib/shelr/* bin/shelr | grep -v autoload >> shelr`
  `chmod +x ./shelr`
end

task :man do
  `bundle exec ronn shelr.1.ronn`
  `rm shelr.1.html`
end

task :default => :spec
Something went wrong with that request. Please try again.