Sha256: 5efdb8bb3f789198f403d9cd6e55890b5d4b8a15ed800ded96ca84a5bde4f1c2
Contents?: true
Size: 624 Bytes
Versions: 15
Compression:
Stored size: 624 Bytes
Contents
module EmberCli class HerokuGenerator < Rails::Generators::Base source_root File.expand_path("../templates", __FILE__) namespace "ember:heroku" def copy_package_json_file template "package.json.erb", "package.json" end def copy_setup_heroku_file template "bin_heroku_install.erb", "bin/heroku_install" run "chmod a+x bin/heroku_install" end def inject_12factor_gem gem "rails_12factor", group: [:staging, :production] end def app_paths EmberCli.apps.values.map do |app| app.root_path.relative_path_from(Rails.root) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems