# File lib/nanoc/cli/commands/create_site.rb, line 349 def site_create_minimal(data_source) # Create output FileUtils.mkdir_p('output') # Create config File.open('config.yaml', 'w') { |io| io.write(DEFAULT_CONFIG.make_compatible_with_env) } Nanoc::NotificationCenter.post(:file_created, 'config.yaml') # Create rules File.open('Rules', 'w') do |io| io.write DEFAULT_RULES.make_compatible_with_env end Nanoc::NotificationCenter.post(:file_created, 'Rules') end