Sha256: 1f514986653e5a8d58b86c43f1d66a10e45c63c49dddf71e18338e78b1e76918

Contents?: true

Size: 514 Bytes

Versions: 5

Compression:

Stored size: 514 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"

task :default => :test

desc "Run the tests."
task :test do
  Dir.glob("tests/*_test.rb").each do |f|
  	system "ruby #{f}"
  end
end

desc "Run test coverage."
task :rcov do
  system "rcov tests/*_test.rb -i lib/git_http.rb -x rack -x Library -x tests"
  system "open coverage/index.html"
end

namespace :grack do
  desc "Start Grack"
  task :start do
    system "rackup config.ru -p 8080"
  end
end

desc "Start everything."
multitask :start => [ 'grack:start' ]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gitlab-grack-2.0.0.rc2 Rakefile
gitlab-grack-2.0.0.pre Rakefile
gitlab-grack-1.1.0 Rakefile
gitlab-grack-1.0.1 Rakefile
gitlab-grack-1.0.0 Rakefile