Skip to content

Commit

Permalink
Adds the ability to run the Mocha test server while developing on Kon…
Browse files Browse the repository at this point in the history
…acha with the Rake task 'server'.
  • Loading branch information
billmag committed Dec 7, 2012
1 parent f3dfeb3 commit ed9850d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Rakefile
Expand Up @@ -18,3 +18,7 @@ task :assets do
end end


task :default => :spec task :default => :spec

task :server do
sh 'rackup -p 3500 config.ru'
end
2 changes: 2 additions & 0 deletions config.ru
@@ -0,0 +1,2 @@
require File.expand_path("../spec/dummy/config/environment.rb", __FILE__)
run Konacha.application

0 comments on commit ed9850d

Please sign in to comment.