1 Debian patch touch this file
| 1 | file 'server.js' => 'server.coffee' do |
| 2 | sh "coffee -c -o . server.coffee" |
| 3 | end |
| 4 | task :build => 'server.js' |
| 5 | |
| 6 | task :bundle do |
| 7 | system("bundle install --gemfile test.gemfile") |
| 8 | end |
| 9 | |
| 10 | desc "Run the tests against localhost" |
| 11 | task :test do |
| •12 | system("ruby test/proxy_test.rb") |
| 13 | end |
| 14 | |
| 15 | task :default => [:build, :bundle, :test] |
| 16 | |
| 17 | Dir["tasks/*.rake"].each do |f| |
| 18 | load f |
| 19 | end |