Sha256: a05434feded3981b7d73b2c62545c0c630a8be33613fef678aa9994d098658e0
Contents?: true
Size: 607 Bytes
Versions: 13
Compression:
Stored size: 607 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" module Hanamismith module Builders module Rake # Builds project skeleton Rake configuration file. class Configuration < Rubysmith::Builders::Rake::Configuration using Refinements::Struct def call return false unless settings.build_rake super builder.call(settings.merge(template_path: "%project_name%/Rakefile.erb")) .render .insert_after(%r(bundler/setup), %(require "hanami/rake_tasks")) true end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems