lib/args_parser.rb in pre_push-0.0.6 vs lib/args_parser.rb in pre_push-0.0.7
- old
+ new
@@ -1,9 +1,13 @@
module PrePush
class ArgsParser
class << self
attr_accessor :args_props
- ArgsParser.args_props = {'r' => [:runner, :str], 'td' => [:test_dlls, :array]}
+ ArgsParser.args_props = {
+ 'r' => [:runner, :str],
+ 'td' => [:test_dlls, :array],
+ 'msb' => [:msbuild, :str]
+ }
end
def self.execute args
result = {:runner => 'nunit262'}
return result if args == nil
args_props.each_pair do |arg, prop|
\ No newline at end of file