bin/ebooks in twitter_ebooks-3.0.4 vs bin/ebooks in twitter_ebooks-3.0.5
- old
+ new
@@ -56,9 +56,10 @@
log "#{path} already exists. Please remove if you want to recreate."
exit 1
end
FileUtils.cp_r(Ebooks::SKELETON_PATH, path)
+ FileUtils.mv(File.join(path, 'gitignore'), File.join(path, '.gitignore'))
File.open(File.join(path, 'bots.rb'), 'w') do |f|
template = File.read(File.join(Ebooks::SKELETON_PATH, 'bots.rb'))
f.write(template.gsub("{{BOT_NAME}}", reponame))
end