Sha256: abdd715c7669602bdaa2d1e3e02b595b4bf032941ff49335c1c66dbb9a2afc00

Contents?: true

Size: 472 Bytes

Versions: 18

Compression:

Stored size: 472 Bytes

Contents

module Rake
  module Funnel
    module 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
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
rake-funnel-0.18.0 lib/rake/funnel/support/mono.rb
rake-funnel-0.17.0 lib/rake/funnel/support/mono.rb
rake-funnel-0.16.1 lib/rake/funnel/support/mono.rb
rake-funnel-0.16.0 lib/rake/funnel/support/mono.rb
rake-funnel-0.15.0.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.14.0.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.13.0.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.12.0.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.11.0.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.10.0.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.9.1.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.9.0.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.8.0.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.7.0.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.6.1.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.6.0.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.5.0.pre lib/rake/funnel/support/mono.rb
rake-funnel-0.4.0.pre lib/rake/funnel/support/mono.rb