Sha256: 762385d05f3d09798b7bb79a38b91819d02f65515f6a6fb474a1b99546e5f685

Contents?: true

Size: 311 Bytes

Versions: 5

Compression:

Stored size: 311 Bytes

Contents

require_relative "base"

module Suspenders
  class StaticGenerator < Generators::Base
    def add_high_voltage
      gem "high_voltage"
      Bundler.with_unbundled_env { run "bundle install" }
    end

    def make_placeholder_directory
      empty_directory_with_keep_file "app/views/pages"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
suspenders-20230113.0 lib/suspenders/generators/static_generator.rb
suspenders-1.56.1 lib/suspenders/generators/static_generator.rb
suspenders-1.55.1 lib/suspenders/generators/static_generator.rb
suspenders-1.55.0 lib/suspenders/generators/static_generator.rb
suspenders-1.54.1 lib/suspenders/generators/static_generator.rb