Sha256: 30b6d558a627dcf18a9ab9160a3c8ccf769ca8ba4f5415f93dfdedf5b1f1a83c

Contents?: true

Size: 442 Bytes

Versions: 4

Compression:

Stored size: 442 Bytes

Contents

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

            return exe_args if Rake::Win32.windows?

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rake-funnel-0.20.2 lib/rake/funnel/support/mono.rb
rake-funnel-0.20.1 lib/rake/funnel/support/mono.rb
rake-funnel-0.20.0 lib/rake/funnel/support/mono.rb
rake-funnel-0.19.0 lib/rake/funnel/support/mono.rb