Permalink
Browse files

add a build task

  • Loading branch information...
1 parent 4cbaa3c commit 56738e60d4412aac11daf250fa17aa6b29f094da @rtomayko rtomayko committed Mar 14, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 Rakefile
View
@@ -1,10 +1,15 @@
+file 'server.js' => 'server.coffee' do
+ sh "coffee -c -o . server.coffee"
+end
+task :build => 'server.js'
+
namespace :test do
desc "Run the tests against localhost"
task :check do |t|
system("ruby test/proxy_test.rb")
end
end
-task :default => "test:check"
+task :default => [:build, "test:check"]
Dir["tasks/*.rake"].each do |f|
load f

0 comments on commit 56738e6

Please sign in to comment.