Sha256: 599b2c6f226266a1994f244feaea885d4b2277e18ec7bfc092dc3d5c61442368

Contents?: true

Size: 394 Bytes

Versions: 5

Compression:

Stored size: 394 Bytes

Contents

# typed: false
# frozen_string_literal: true

require "active_support/concern"
require "English"

module Hephaestus
  module ExitOnFailure
    extend ActiveSupport::Concern

    # def bundle_command(*args)
    #   run("bundle", args)
    #   exit(false) if $CHILD_STATUS.exitstatus.nonzero?
    # end

    module ClassMethods
      def exit_on_failure?
        true
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hephaestus-0.1.3 lib/hephaestus/exit_on_failure.rb
hephaestus-0.1.2 lib/hephaestus/exit_on_failure.rb
hephaestus-0.1.1 lib/hephaestus/exit_on_failure.rb
hephaestus-0.0.2 lib/hephaestus/exit_on_failure.rb
hephaestus-0.0.1 lib/hephaestus/exit_on_failure.rb