Sha256: cf5f4a65cfa3df86fdbce95af95b371175bce7e780206ed271e1809825cfe5f1

Contents?: true

Size: 930 Bytes

Versions: 49

Compression:

Stored size: 930 Bytes

Contents

require 'rubygems'
require 'bundler'
Bundler.require
require 'rspec/core/rake_task'
require "bundler/gem_tasks"

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

desc "run spec"
task :default => [:spec]

desc "run travis build"
task :travis do
  exec "bundle exec rake SPEC_OPTS='--format documentation'"
end

namespace :print do
  task :script do
    require 'vx/message/testing'
    require File.expand_path("../spec/support/fixture", __FILE__)
    require File.expand_path("../spec/support/create", __FILE__)

    task = create :task
    source = create :source

    builder = Vx::Builder::Script.new(task, source)

    puts "\n#===> BEGIN BEFORE SCRIPT"
    puts builder.to_before_script
    puts "#===> END BEFORE SCRIPT\n"

    puts "\n#===> BEGIN SCRIPT\n"
    puts builder.to_script
    puts "#===> END SCRIPT\n\n"

    puts "\n#===> BEGIN AFTER SCRIPT\n"
    puts builder.to_after_script
    puts "#===> END AFTER SCRIPT\n\n"
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
vx-builder-0.1.1 Rakefile
vx-builder-0.1.0 Rakefile
vx-builder-0.0.29 Rakefile
vx-builder-0.0.28 Rakefile
vx-builder-0.0.27 Rakefile
vx-builder-0.0.26 Rakefile
vx-builder-0.0.25 Rakefile
vx-builder-0.0.24 Rakefile
vx-builder-0.0.23 Rakefile
vx-builder-0.0.22 Rakefile
vx-builder-0.0.21 Rakefile
vx-builder-0.0.20 Rakefile
vx-builder-0.0.19 Rakefile
vx-builder-0.0.18 Rakefile
vx-builder-0.0.16 Rakefile
vx-builder-0.0.15 Rakefile
vx-builder-0.0.14 Rakefile
vx-builder-0.0.13 Rakefile
vx-builder-0.0.12 Rakefile
vx-builder-0.0.11 Rakefile