Rakefile in evrone-ci-router-0.2.0.pre4 vs Rakefile in evrone-ci-router-0.2.0.pre5

- old
+ new

@@ -21,5 +21,26 @@ end end desc "run travis build" task :travis => :default + +namespace :print do + task :script do + require 'evrone/ci/message/testing' + require File.expand_path("../spec/support/fixture", __FILE__) + require File.expand_path("../spec/support/create", __FILE__) + + build = create :build + travis = create :travis + + script_builder = travis.to_script_builder(build) + + puts "\n#===> BEGIN BEFORE SCRIPT" + puts script_builder.to_before_script + puts "#===> END BEFORE SCRIPT\n" + + puts "\n#===> BEGIN SCRIPT\n" + puts script_builder.to_script + puts "#===> END SCRIPT\n\n" + end +end