# File lib/nanoc3/cli/commands/create_site.rb, line 320 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) } Nanoc3::NotificationCenter.post(:file_created, 'config.yaml') # Create rakefile File.open('Rakefile', 'w') do |io| io.write "require 'nanoc3/tasks'" end Nanoc3::NotificationCenter.post(:file_created, 'Rakefile') # Create rules File.open('Rules', 'w') do |io| io.write DEFAULT_RULES.make_compatible_with_env end Nanoc3::NotificationCenter.post(:file_created, 'Rules') end