Module: AppConfig::PostInstall
- Defined in:
- lib/post_install.rb
Class Method Summary collapse
Class Method Details
.message ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/post_install.rb', line 3 def self. unless File.directory?(File.('~/.collage', __FILE__)) FileUtils.mkdir(File.('~/.collage/')) FileUtils.cp('config.yaml', File.('~/.collage/config.yaml')) puts <<-MESSAGE A basic Yaml Configuration file has been copied to ~/.collage/config.yaml you modify that to change some setting. MESSAGE end end |