Sha256: 449e1ade94a8be800dc67c462becbfc05d816fb99c28d13ad791636f2af789a0
Contents?: true
Size: 884 Bytes
Versions: 7
Compression:
Stored size: 884 Bytes
Contents
require 'rake' require 'set' require 'albacore/cmd_config' require 'albacore/cross_platform_cmd' module Albacore module TestRunner class Cmd include CrossPlatformCmd def initialize work_dir, executable, parameters, file @work_dir, @executable = work_dir, executable @parameters = parameters.to_a.unshift(file) mono_command end def execute system @executable, @parameters, :work_dir => @work_dir end end class Config include CmdConfig attr_writer :files def files if @files.respond_to? :each @files else [@files] end end end class Task def initialize command_line @command_line = command_line end def execute @command_line.execute end end end end
Version data entries
7 entries across 7 versions & 1 rubygems