Sha256: 9f18d4631f442d46a4cf12fc024950a47b1f6df8da97f02db94f3eac9c158b9b
Contents?: true
Size: 397 Bytes
Versions: 9
Compression:
Stored size: 397 Bytes
Contents
# frozen_string_literal: true module Overcommit::Hook::Shared # Shared code used by all ComposerInstall hooks. Runs `composer install` when # a change is detected in the repository's dependencies. # # @see https://getcomposer.org/ module ComposerInstall def run result = execute(command) return :fail, result.stdout unless result.success? :pass end end end
Version data entries
9 entries across 9 versions & 2 rubygems