Sha256: 98d1f13541848111d8497e7f2b2d4cc1f11625b47aad3f2c8631b7a8ef578a2c

Contents?: true

Size: 360 Bytes

Versions: 5

Compression:

Stored size: 360 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

5 entries across 5 versions & 1 rubygems

Version Path
rake-funnel-0.21.0 lib/rake/funnel/integration/sync_output.rb
rake-funnel-0.20.2 lib/rake/funnel/integration/sync_output.rb
rake-funnel-0.20.1 lib/rake/funnel/integration/sync_output.rb
rake-funnel-0.20.0 lib/rake/funnel/integration/sync_output.rb
rake-funnel-0.19.0 lib/rake/funnel/integration/sync_output.rb