Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 33 lines (26 sloc) 0.638 kB
f4b7219 @dhh Added test cases and rakefile to Active Support
dhh authored
1 require 'rake/testtask'
79e9a29 @vijaydev fixes Rake::GemPackageTask deprecation warnings from rake 0.9.0
vijaydev authored
2 require 'rubygems/package_task'
9af9fc3 @dhh sshpublisher needs to be explicitly required now, apparently
dhh authored
3
f4b7219 @dhh Added test cases and rakefile to Active Support
dhh authored
4 task :default => :test
24ac3a8 @josh Wrap isolated test runner in a test suite
josh authored
5 Rake::TestTask.new do |t|
6 t.libs << 'test'
298cbbd @dhh Added the first of the coming core extensions
dhh authored
7 t.pattern = 'test/**/*_test.rb'
845e6ff @jeremy String#to_xs uses the fast_xs extension if available for Builder spee…
jeremy authored
8 t.warning = true
a197d1c @tenderlove run the AS tests in verbose mode
tenderlove authored
9 t.verbose = true
24ac3a8 @josh Wrap isolated test runner in a test suite
josh authored
10 end
11
12 namespace :test do
13 Rake::TestTask.new(:isolated) do |t|
14 t.pattern = 'test/ts_isolated.rb'
15 end
f28bd95 @jeremy Fix dependencies revealed by testing in isolation
jeremy authored
16 end
dc3d6eb @dhh Moved Active Support into its own gem
dhh authored
17
18 # Create compressed packages
19 dist_dirs = [ "lib", "test"]
20
897b9ac @josh Make activesupport.gemspec the authoritative source instead of genera…
josh authored
21 spec = eval(File.read('activesupport.gemspec'))
dc3d6eb @dhh Moved Active Support into its own gem
dhh authored
22
79e9a29 @vijaydev fixes Rake::GemPackageTask deprecation warnings from rake 0.9.0
vijaydev authored
23 Gem::PackageTask.new(spec) do |p|
dc3d6eb @dhh Moved Active Support into its own gem
dhh authored
24 p.gem_spec = spec
25 end
26
c1785f3 @jeremy Release using gemcutter gem:push tasks
jeremy authored
27 desc "Release to gemcutter"
459ecaf @jeremy Submarine the rake-gemcutter dep in Rakefiles
jeremy authored
28 task :release => :package do
29 require 'rake/gemcutter'
30 Rake::Gemcutter::Tasks.new(spec).define
31 Rake::Task['gem:push'].invoke
32 end
Something went wrong with that request. Please try again.