Sha256: 658bf4d99f07974a3816970d63ec0260a6aeadbb387bc2ef73af0ed7842af809
Contents?: true
Size: 376 Bytes
Versions: 4
Compression:
Stored size: 376 Bytes
Contents
require 'rspec/core/rake_task' require 'bundler/gem_tasks' lib_folder = File.expand_path("../lib", __FILE__) RSpec::Core::RakeTask.new(:spec) task :default => :spec task :console do |task| cmd = [ 'irb', "-r '#{lib_folder}/daru.rb'" ] run *cmd end task :pry do |task| cmd = [ 'pry', "-r '#{lib_folder}/daru.rb'" ] run *cmd end def run *cmd sh(cmd.join(" ")) end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
daru-0.1.3.1 | Rakefile |
daru-0.1.3 | Rakefile |
daru-0.1.2 | Rakefile |
daru-0.1.1 | Rakefile |