Sha256: 83b02a33879a7e1ae1738d55a28354c0be1c26aa7329423bda72c44ff514b145
Contents?: true
Size: 1.72 KB
Versions: 8
Compression:
Stored size: 1.72 KB
Contents
# Application template recipe for the rails_apps_composer. Change the recipe here: # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/prelaunch.rb if prefer :prelaunch_app, 'signup_app' raise StandardError.new "Sorry. The prelaunch recipe is not implemented." after_bundler do say_wizard "recipe running after 'bundle install'" repo = 'https://raw.github.com/RailsApps/rails-prelaunch-signup/master/' # >-------------------------------[ Create a git branch ]--------------------------------< if prefer :git, true if prefer :prelaunch_branch, 'master' unless prefer :main_branch, 'none' say_wizard "renaming git branch 'master' to '#{prefs[:main_branch]}' for starter app" git :branch => "-m master #{prefs[:main_branch]}" git :checkout => "-b master" else say_wizard "creating prelaunch app on git branch 'master'" end else say_wizard "creating new git branch '#{prefs[:prelaunch_branch]}' for prelaunch app" git :checkout => "-b #{prefs[:prelaunch_branch]}" end end # >-------------------------------[ Create an initializer file ]--------------------------------< copy_from_repo 'config/initializers/prelaunch-signup.rb', :repo => repo say_wizard "PRELAUNCH_SIGNUP NOT IMPLEMENTED" ### GIT ### git :add => '.' if prefer :git, true git :commit => "-aqm 'rails_apps_composer: prelaunch app'" if prefer :git, true end # after_bundler end # signup_app __END__ name: prelaunch description: "Not implemented." author: RailsApps requires: [setup, gems, auth, models, controllers, views, frontend, init] run_after: [setup, gems, auth, models, controllers, views, frontend, init] category: apps
Version data entries
8 entries across 8 versions & 1 rubygems