7
8
9
10
11
12
13
14
15
16
17
18
19
|
# File 'lib/generators/abstract_feature_branch/install_generator.rb', line 7
def copy_config
template "lib/tasks/abstract_feature_branch.rake", "lib/tasks/abstract_feature_branch.rake"
template "config/initializers/abstract_feature_branch.rb", "config/initializers/abstract_feature_branch.rb"
template "config/features.example.yml", "config/features.yml"
template "config/features.local.yml", "config/features.local.yml"
append_to_file '.gitignore', <<-GIT_IGNORE_CONTENT
#abstract_feature_branch local configuration file
/config/features.local.yml
/config/features/*.local.yml
/config/features/**/*.local.yml
GIT_IGNORE_CONTENT
end
|