Sha256: 193ca8fc1f0ffd6f4d4b32cd11445dd8885ad12269cfa5521fd2b16142c8bd9d

Contents?: true

Size: 359 Bytes

Versions: 9

Compression:

Stored size: 359 Bytes

Contents

module Rake
  module Funnel
    module Integration
      class SyncOutput
        def initialize
          sync($stdout)
          sync($stderr)
        end

        private
        def sync(stream)
          stream.sync = true
        rescue => e
          Rake.rake_output_message "Failed to set up sync output #{e}"
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rake-funnel-0.18.0 lib/rake/funnel/integration/sync_output.rb
rake-funnel-0.17.0 lib/rake/funnel/integration/sync_output.rb
rake-funnel-0.16.1 lib/rake/funnel/integration/sync_output.rb
rake-funnel-0.16.0 lib/rake/funnel/integration/sync_output.rb
rake-funnel-0.15.0.pre lib/rake/funnel/integration/sync_output.rb
rake-funnel-0.14.0.pre lib/rake/funnel/integration/sync_output.rb
rake-funnel-0.13.0.pre lib/rake/funnel/integration/sync_output.rb
rake-funnel-0.12.0.pre lib/rake/funnel/integration/sync_output.rb
rake-funnel-0.11.0.pre lib/rake/funnel/integration/sync_output.rb