Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy template to lib/override_recipient_smtp.rb #112

Merged
merged 1 commit into from Nov 24, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/suspenders/app_builder.rb
Expand Up @@ -229,6 +229,10 @@ def create_github_repo(repo_name)
run "#{path_addition} hub create #{repo_name}"
end

def copy_libraries
copy_file 'override_recipient_smtp.rb', 'lib/override_recipient_smtp.rb'
end

def copy_miscellaneous_files
copy_file 'errors.rb', 'config/initializers/errors.rb'
end
Expand Down
6 changes: 6 additions & 0 deletions lib/suspenders/generators/app_generator.rb
Expand Up @@ -38,6 +38,7 @@ def suspenders_customization
invoke :setup_database
invoke :configure_app
invoke :setup_stylesheets
invoke :copy_libraries
invoke :copy_miscellaneous_files
invoke :customize_error_pages
invoke :remove_routes_comment_lines
Expand Down Expand Up @@ -178,6 +179,11 @@ def init_git
build :init_git
end

def copy_libraries
say 'Copying libraries'
build :copy_libraries
end

def copy_miscellaneous_files
say 'Copying miscellaneous support files'
build :copy_miscellaneous_files
Expand Down