class Mecha::Generators::BitbucketPipelinesGenerator
Public Instance Methods
copy_bitbucket_pipelines()
click to toggle source
# File lib/mecha/generators/bitbucket_pipelines/bitbucket_pipelines_generator.rb, line 10 def copy_bitbucket_pipelines template("config/databases/#{options[:database]}.bitbucket.yml.erb", 'config/database.bitbucket.yml') template('bitbucket-pipelines.yml.erb', 'bitbucket-pipelines.yml') end
Private Instance Methods
app_name()
click to toggle source
# File lib/mecha/generators/bitbucket_pipelines/bitbucket_pipelines_generator.rb, line 17 def app_name File.basename(destination_root).tr('\\', '').tr('. ', '_') end