Sha256: 9014290c4b1b07942596d9b24a4e2661aacd354c7ba8746601dffbac0f4d6082

Contents?: true

Size: 500 Bytes

Versions: 10

Compression:

Stored size: 500 Bytes

Contents

first = [
  "remote.rb"
]

last = %w[
  async.rb
  cron.rb
]

skip = ["start.rb", "finish.rb", *first, *last]

first.each { |f| require_relative f if File.exist?("#{__dir__}/#{f}") }

require "<%= project_lib_file_path %>"

Dir.entries(__dir__).each do |boot_file|
  next unless boot_file.end_with?(".rb")
  next if skip.include?(boot_file)
  next unless File.exist?("#{__dir__}/#{boot_file}")

  require_relative boot_file
end

last.each { |f| require_relative f if File.exist?("#{__dir__}/#{f}") }

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
foobara-empty-ruby-project-generator-0.0.10 templates/boot/finish.rb.erb
foobara-empty-ruby-project-generator-0.0.9 templates/boot/finish.rb.erb
foobara-empty-ruby-project-generator-0.0.8 templates/boot/finish.rb.erb
foobara-empty-ruby-project-generator-0.0.7 templates/boot/finish.rb.erb
foobara-empty-ruby-project-generator-0.0.6 templates/boot/finish.rb.erb
foobara-empty-ruby-project-generator-0.0.5 templates/boot/finish.rb.erb
foobara-empty-ruby-project-generator-0.0.4 templates/boot/finish.rb.erb
foobara-empty-ruby-project-generator-0.0.3 templates/boot/finish.rb.erb
foobara-empty-ruby-project-generator-0.0.2 templates/boot/finish.rb.erb
foobara-empty-ruby-project-generator-0.0.1 templates/boot/finish.rb.erb