Sha256: 4d32f740d715b8c1ae3ed1ccbf9507c97e47fc282050ac1cdce091e460e82a19

Contents?: true

Size: 608 Bytes

Versions: 1

Compression:

Stored size: 608 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

# This file was auto-generated by Packwerk through `packwerk init`

# Needs to be run in test environment in order to have test helper paths available in the autoload paths
ENV["RAILS_ENV"] = "test"

# Command line arguments needs to be duplicated because spring modifies it
packwerk_argv = ARGV.dup

begin
  load(File.expand_path("../spring", __FILE__))
rescue LoadError => e
  raise unless e.message.include?("spring")
end

require File.expand_path("../../config/environment", __FILE__)

require "packwerk"

cli = Packwerk::Cli.new
cli.run(packwerk_argv)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
packwerk-1.0.0 lib/packwerk/generators/templates/packwerk