Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 41 lines (31 sloc) 0.93 kb
83e2e52 Tom Lea Make it all accessible directly from the gem!
cwninja authored
1 require "rubygems"
20646b8 Tom Lea Compatibility with latest rake.
cwninja authored
2 require "rubygems/package_task"
83e2e52 Tom Lea Make it all accessible directly from the gem!
cwninja authored
3
20646b8 Tom Lea Compatibility with latest rake.
cwninja authored
4 Gem::PackageTask.new(eval(File.read("geminabox.gemspec"))) do |pkg|
83e2e52 Tom Lea Make it all accessible directly from the gem!
cwninja authored
5 end
6
6271ab2 Tom Lea Make `bundle exec rake` work.
cwninja authored
7 desc 'Clear out generated packages'
8 task :clean => [:clobber_package]
e143a82 Tom Lea Add some basic pushing tests.
cwninja authored
9
10 require 'rake/testtask'
11
b70d779 Tom Lea Split out integration tests.
cwninja authored
12 Rake::TestTask.new("test:integration") do |t|
e143a82 Tom Lea Add some basic pushing tests.
cwninja authored
13 t.libs << "test" << "lib"
b70d779 Tom Lea Split out integration tests.
cwninja authored
14 t.pattern = "test/integration/**/*_test.rb"
e143a82 Tom Lea Add some basic pushing tests.
cwninja authored
15 end
b70d779 Tom Lea Split out integration tests.
cwninja authored
16
6022e8c Tom Lea A quick smoke test.
cwninja authored
17 Rake::TestTask.new("test:smoke:paranoid") do |t|
18 t.libs << "test" << "lib"
19 t.pattern = "test/smoke_test.rb"
20 end
21
22 desc "Run the smoke tests, faster."
23 task "test:smoke" do
24 $:.unshift("lib").unshift("test")
25 require "smoke_test"
26 end
27
00f6fce Olek Janiszewski Add geminabox version to HTTP responses
exviva authored
28 Rake::TestTask.new("test:requests") do |t|
29 t.libs << "test" << "lib"
30 t.pattern = "test/requests/**/*_test.rb"
31 end
32
50dc3bb Tom Lea Faster bundler API support.
cwninja authored
33 Rake::TestTask.new("test:units") do |t|
34 t.libs << "test" << "lib"
35 t.pattern = "test/units/**/*_test.rb"
36 end
37
6022e8c Tom Lea A quick smoke test.
cwninja authored
38 task :st => "test:smoke"
50dc3bb Tom Lea Faster bundler API support.
cwninja authored
39 task :test => ["test:units", "test:requests", "test:integration"]
b70d779 Tom Lea Split out integration tests.
cwninja authored
40 task :default => :test
Something went wrong with that request. Please try again.