drake 0.8.1.10.0 → 0.8.1.10.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +36 -3
  2. data/lib/rake.rb +3 -3
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -469,7 +469,7 @@ task :generate_rb do
469
469
  Quix::Subpackager.run(packages)
470
470
  end
471
471
 
472
- ###########################################
472
+ ######################################################################
473
473
  # git
474
474
 
475
475
  def git(*args)
@@ -499,7 +499,40 @@ task :pull_mainline do
499
499
  refs/heads/master:refs/heads/origin!)
500
500
  end
501
501
 
502
+ task :pull_contrib => [ :init_contrib, :run_pull_contrib, :generate_rb ]
503
+
502
504
  ######################################################################
503
- # toplevel
505
+ # drake_release
504
506
 
505
- task :pull_contrib => [ :init_contrib, :run_pull_contrib, :generate_rb ]
507
+ require 'fileutils'
508
+
509
+ task :drake_prerelease do
510
+ rm_rf("html")
511
+ rm_rf("pkg")
512
+ end
513
+
514
+ task :drake_publish => :rdoc do
515
+ Dir.chdir(rd.rdoc_dir) {
516
+ sh(*%w(scp -r . quix@rubyforge.org:/var/www/gforge-projects/drake))
517
+ }
518
+ end
519
+
520
+ task :drake_upload do
521
+ %w(gem tgz).each_with_index { |ext, index|
522
+ sh("rubyforge",
523
+ (index == 0 ? "add_release" : "add_file"),
524
+ SPEC.rubyforge_project,
525
+ SPEC.rubyforge_project,
526
+ SPEC.version.to_s,
527
+ "pkg/#{SPEC.name}-#{SPEC.version}.#{ext}")
528
+ }
529
+ end
530
+
531
+ task :drake_release =>
532
+ [
533
+ :test_all,
534
+ :drake_prerelease,
535
+ :drake_publish,
536
+ :package,
537
+ :drake_upload,
538
+ ]
data/lib/rake.rb CHANGED
@@ -29,7 +29,7 @@
29
29
  # as a library via a require statement, but it can be distributed
30
30
  # independently as an application.
31
31
 
32
- RAKEVERSION = '0.8.1.10.0'
32
+ RAKEVERSION = '0.8.1.10.0.1'
33
33
 
34
34
  require 'rbconfig'
35
35
  require 'getoptlong'
@@ -823,7 +823,7 @@ module Rake
823
823
  end
824
824
 
825
825
  # #########################################################################
826
- # DEPRECATED: use command-line option '--threads N' or
826
+ # REMOVED: use command-line option '--threads N' or
827
827
  # Rake.application.num_threads = N
828
828
  #
829
829
  class MultiTask < Task
@@ -882,7 +882,7 @@ def directory(dir)
882
882
  end
883
883
 
884
884
  #
885
- # DEPRECATED: use command-line option '--threads N' or
885
+ # REMOVED: use command-line option '--threads N' or
886
886
  # Rake.application.num_threads = N
887
887
  #
888
888
  def multitask(args, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1.10.0
4
+ version: 0.8.1.10.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Weirich, James M. Lawrence
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-09-07 00:00:00 -04:00
12
+ date: 2008-09-08 00:00:00 -04:00
13
13
  default_executable: drake
14
14
  dependencies: []
15
15