Sha256: d81a48e9a6b9081a3b60d01075db8a380dcdd7d80a1f910dfa6e6e5bb08ecd52
Contents?: true
Size: 668 Bytes
Versions: 3
Compression:
Stored size: 668 Bytes
Contents
require 'rake/testtask' class Ecrire::TestTask < Rake::TestTask attr_accessor :theme def define desc @description task @name do Rake::FileUtilsExt.verbose(@verbose) do args = "#{ruby_opts_string} #{run_code} " + "#{file_list_string} #{option_list}" + "#{theme}" ruby args do |ok, status| if !ok && status.respond_to?(:signaled?) && status.signaled? raise SignalException.new(status.termsig) elsif !ok fail "Command failed with status (#{status.exitstatus}): " + "[ruby #{args}]" end end end end self end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ecrire-0.25.0 | test/test_task.rb |
ecrire-0.24.1 | test/test_task.rb |
ecrire-0.24.0 | test/test_task.rb |