Sha256: 18da6638ed56504d2dcca48eb1058edbecfe4d5c11131fc47eab3c76588b82d1
Contents?: true
Size: 982 Bytes
Versions: 2
Compression:
Stored size: 982 Bytes
Contents
namespace :guard do desc 'start' task :start do `bundle exec guard` end end begin require 'bundler/setup' rescue LoadError puts 'You must `gem install bundler` and `bundle install` to run rake tasks' end def get_func(ctn) ctn.scan(%r{((_|\w)+)\s\(\)}) end namespace :bash do task :install do ro_commands = File.expand_path("../ro_commands.sh", __FILE__) system "echo 'source #{ro_commands}' >> ~/bashrc.erb" end task :check do end end #require 'rdoc/task' # #RDoc::Task.new(:rdoc) do |rdoc| # rdoc.rdoc_dir = 'rdoc' # rdoc.title = 'RoroCommands' # rdoc.options << '--line-numbers' # rdoc.rdoc_files.include('README.rdoc') # rdoc.rdoc_files.include('lib/**/*.rb') #end Bundler::GemHelper.install_tasks require 'rake/testtask' Rake::TestTask.new(:test) do |t| t.libs << 'lib' t.libs << 'test' t.pattern = 'test/**/*_test.rb' t.verbose = false end task default: :test require 'rspec/core/rake_task' RSpec::Core::RakeTask.new
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ro_commands-0.0.3 | Rakefile |
ro_commands-0.0.2 | Rakefile |