Sha256: 2b3a7e901ca26dfbf5f768a65bd6cd8c7046c08b4c60c06f55405729f4fba21c
Contents?: true
Size: 549 Bytes
Versions: 7
Compression:
Stored size: 549 Bytes
Contents
# frozen_string_literal: true # typed: false require "spring/commands" module Packwerk class SpringCommand def env(*) # Packwerk needs to run in a test environment, which has a set of autoload paths that are # often a superset of the dev/prod paths (for example, test/support/helpers) "test" end def exec_name "packwerk" end def gem_name "packwerk" end def call load(Gem.bin_path(gem_name, exec_name)) end end Spring.register_command("packwerk", SpringCommand.new) end
Version data entries
7 entries across 7 versions & 1 rubygems