Sha256: 06f537ffaad2ebf0397dad2b78ca5757ea107484cceaa1adf1df63190deade4d

Contents?: true

Size: 405 Bytes

Versions: 11

Compression:

Stored size: 405 Bytes

Contents

module Rake::Funnel::Support
  class Mono
    class << self
      def invocation(executable, *args)
        exe_args = ([executable] << args).flatten.compact

        if Rake::Win32.windows?
          return exe_args
        end

        executable = exe_args.shift
        found = Which.which(executable) || executable
        exe_args.unshift('mono', found)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rake-funnel-0.3.2.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.3.1.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.3.0.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.2.0.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.1.0.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.0.6.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.0.5.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.0.4.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.0.3.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.0.2.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.0.1.pre lib/rake/funnel/support/mono.rb