rake 0.4.11 → 0.4.12

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rake might be problematic. Click here for more details.

Files changed (2) hide show
  1. data/lib/rake.rb +8 -2
  2. metadata +5 -4
@@ -29,7 +29,7 @@
29
29
  # referenced as a library via a require statement, but it can be
30
30
  # distributed independently as an application.
31
31
 
32
- RAKEVERSION = '0.4.11'
32
+ RAKEVERSION = '0.4.12'
33
33
 
34
34
  require 'rbconfig'
35
35
  require 'ftools'
@@ -41,6 +41,7 @@ $show_tasks = nil
41
41
  $show_prereqs = nil
42
42
  $trace = nil
43
43
  $dryrun = nil
44
+ $silent = false
44
45
 
45
46
  ######################################################################
46
47
  # A Task is the basic unit of work in a Rakefile. Tasks have
@@ -808,6 +809,8 @@ class RakeApp
808
809
  "Use FILE as the rakefile."],
809
810
  ['--require', '-r', GetoptLong::REQUIRED_ARGUMENT,
810
811
  "Require MODULE before executing rakefile."],
812
+ ['--silent', '-s', GetoptLong::NO_ARGUMENT,
813
+ "Like --quiet, but also suppresses the 'in directory' announcement."],
811
814
  ['--tasks', '-T', GetoptLong::NO_ARGUMENT,
812
815
  "Display the tasks and dependencies, then exit."],
813
816
  ['--trace', '-t', GetoptLong::NO_ARGUMENT,
@@ -912,6 +915,9 @@ class RakeApp
912
915
  RAKEFILES << value
913
916
  when '--require'
914
917
  require value
918
+ when '--silent'
919
+ verbose(false)
920
+ $silent = true
915
921
  when '--tasks'
916
922
  $show_tasks = true
917
923
  when '--trace'
@@ -945,7 +951,7 @@ class RakeApp
945
951
  end
946
952
  here = Dir.pwd
947
953
  end
948
- puts "(in #{Dir.pwd})"
954
+ puts "(in #{Dir.pwd})" unless $silent
949
955
  $rakefile = @rakefile
950
956
  load @rakefile
951
957
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.1
2
+ rubygems_version: 0.8.1.2
3
3
  specification_version: 1
4
4
  name: rake
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.4.11
7
- date: 2004-11-12
6
+ version: 0.4.12
7
+ date: 2004-12-03
8
8
  summary: Ruby based make-like utility.
9
9
  require_paths:
10
10
  - lib
11
- author: Jim Weirich
12
11
  email: jim@weirichhouse.org
13
12
  homepage: http://rake.rubyforge.org
14
13
  rubyforge_project: rake
@@ -25,6 +24,8 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
25
24
  version: 0.0.0
26
25
  version:
27
26
  platform: ruby
27
+ authors:
28
+ - Jim Weirich
28
29
  files:
29
30
  - install.rb
30
31
  - CHANGES