bin/mad_chatter in mad_chatter-0.2.6 vs bin/mad_chatter in mad_chatter-0.2.7

- old
+ new

@@ -13,14 +13,10 @@ desc "new [name]", "Generates a new Mad Chatter chatroom application" def new(name) copy_file "templates/config.yml", "#{name}/config.yml" copy_file "templates/extensions.rb", "#{name}/extensions.rb" - # empty_directory "#{name}/extensions" - copy_file "templates/web/index.html", "#{name}/web/index.html" - copy_file "templates/web/mad_chatter.js", "#{name}/web/mad_chatter.js" - copy_file "templates/web/mad_chatter_actions.js", "#{name}/web/mad_chatter_actions.js" - copy_file "templates/web/styles.css", "#{name}/web/styles.css" + directory "templates/web", "#{name}/web" end desc 'preview', 'Starts both a web server and the Mad Chatter chat server' def preview t1 = Thread.new { require 'mad_chatter/web_server' } \ No newline at end of file