Sha256: 510d57a25c2cef03bfe5a9d1ea2061d0698323c541a5434801d04f4430e57b4a

Contents?: true

Size: 802 Bytes

Versions: 7

Compression:

Stored size: 802 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec)

task :default => :spec


task :environment do 
    require_relative './config/environment'
end

desc "Test data structures in console environment"
task :console => :environment do
    require 'pry'
    pry.start
end

desc "Loads data for console tests, runs console"
task :console_tests => :environment do
    require 'pry'
    require_relative './console_tests.rb'
 
end

desc "Env playground, same as console tests but not for testing"
task :play => :environment do 
    require 'pry'
    require_relative './playground.rb'
end

namespace :examples do 
    desc "run an example file"
    task :run, [:file] => :environment do |task, args|
        require_relative "./examples/#{args[:file]}.rb"
    end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
digiproc-0.2.5 Rakefile
digiproc-0.2.4 Rakefile
digiproc-0.2.3 Rakefile
digiproc-0.2.2 Rakefile
digiproc-0.2.1 Rakefile
digiproc-0.2.0 Rakefile
digiproc-0.1.0 Rakefile