sisyphus-rails/lib/generators/sisyphus/configuration/configuration_generator.rb

14 lines
332 B
Ruby
Raw Permalink Normal View History

2012-10-03 05:40:31 +00:00
module Sisyphus
module Generators
class ConfigurationGenerator < ::Rails::Generators::Base
source_root File.expand_path('../templates', __FILE__)
desc "Creates blank config file for extended configuration."
def create_yaml
template "sisyphus.yml", "config/sisyphus.yml"
end
end
end
end