bin/massa in massa-0.3.1 vs bin/massa in massa-0.3.2
- old
+ new
@@ -13,9 +13,10 @@
opts.on('-g', '--generate-config', 'Generate config file') do
template = File.expand_path('../../lib/massa/templates/massa.yml', __FILE__)
config_file = 'config/massa.yml'
+ FileUtils.mkdir_p(File.dirname(config_file))
FileUtils.cp(template, "#{Dir.pwd}/#{config_file}")
Massa::CLI.colorize :default, 'File generated: ', :green, "#{config_file}\n"
exit
end