drake 0.8.1.11.0.1 → 0.8.2.0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README +3 -2
- data/Rakefile +4 -4
- data/Rakefile.drake +2 -2
- data/lib/rake.rb +1 -1
- data/test/Rakefile.seq +20 -0
- data/test/Rakefile.simple +29 -0
- metadata +5 -4
- data/bin/rake +0 -31
data/README
CHANGED
@@ -74,7 +74,8 @@ attempted in non-single-threaded mode.
|
|
74
74
|
|
75
75
|
== Links
|
76
76
|
|
77
|
-
* Download:
|
77
|
+
* Download: http://rubyforge.org/frs/?group_id=6530
|
78
|
+
* Documentation: http://drake.rubyforge.org
|
78
79
|
* Rubyforge home: http://rubyforge.org/projects/drake
|
79
80
|
* Repository: http://github.com/quix/rake
|
80
81
|
|
@@ -109,7 +110,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
109
110
|
|
110
111
|
= RAKE -- Ruby Make -- <em>master branch</em>
|
111
112
|
|
112
|
-
Supporting Rake version: 0.8.
|
113
|
+
Supporting Rake version: 0.8.2
|
113
114
|
|
114
115
|
This package contains Rake, a simple ruby build program with
|
115
116
|
capabilities similar to make.
|
data/Rakefile
CHANGED
@@ -151,10 +151,10 @@ rd = Rake::RDocTask.new("rdoc") { |rdoc|
|
|
151
151
|
# rdoc.template = 'kilmer'
|
152
152
|
# rdoc.template = 'css2'
|
153
153
|
rdoc.template = 'doc/jamis.rb'
|
154
|
-
rdoc.title = "
|
154
|
+
rdoc.title = "Drake: Distributed Rake"
|
155
155
|
rdoc.options << '--line-numbers' << '--inline-source' <<
|
156
156
|
'--main' << 'README' <<
|
157
|
-
'--title' << '
|
157
|
+
'--title' << 'Drake: Distributed Rake'
|
158
158
|
rdoc.rdoc_files.include('README', 'MIT-LICENSE', 'TODO', 'CHANGES')
|
159
159
|
rdoc.rdoc_files.include('lib/**/*.rb', 'doc/**/*.rdoc')
|
160
160
|
rdoc.rdoc_files.exclude(/\bcontrib\b/)
|
@@ -167,12 +167,12 @@ rd = Rake::RDocTask.new("rdoc") { |rdoc|
|
|
167
167
|
PKG_FILES = FileList[
|
168
168
|
'install.rb',
|
169
169
|
'[A-Z]*',
|
170
|
-
'bin
|
170
|
+
'bin/drake',
|
171
171
|
'lib/**/*.rb',
|
172
172
|
'test/**/*.rb',
|
173
173
|
'test/**/*.rf',
|
174
174
|
'test/**/*.mf',
|
175
|
-
'test/**/Rakefile',
|
175
|
+
'test/**/Rakefile*',
|
176
176
|
'test/**/subdir',
|
177
177
|
'doc/**/*'
|
178
178
|
]
|
data/Rakefile.drake
CHANGED
@@ -93,8 +93,8 @@ task :drake_finish_release do
|
|
93
93
|
SPEC.rubyforge_project,
|
94
94
|
SPEC.version.to_s,
|
95
95
|
"pkg/#{SPEC.name}-#{SPEC.version}.gem")
|
96
|
-
git("tag", SPEC.version.to_s)
|
97
|
-
git("push")
|
96
|
+
git("tag", "drake-" + SPEC.version.to_s)
|
97
|
+
git("push", "--tags")
|
98
98
|
end
|
99
99
|
|
100
100
|
task :drake_release =>
|
data/lib/rake.rb
CHANGED
data/test/Rakefile.seq
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
require 'thread'
|
3
|
+
|
4
|
+
task_names = (1...100).map { |n| n.to_s }
|
5
|
+
order_invoked = []
|
6
|
+
mutex = Mutex.new
|
7
|
+
|
8
|
+
task_names.each { |task_name|
|
9
|
+
task task_name do
|
10
|
+
mutex.synchronize {
|
11
|
+
order_invoked.push(task_name)
|
12
|
+
}
|
13
|
+
end
|
14
|
+
}
|
15
|
+
|
16
|
+
task :default => seq[*task_names] do
|
17
|
+
unless order_invoked == task_names
|
18
|
+
raise "seq failed"
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
|
2
|
+
task :default => [:a, :b] do |t, args|
|
3
|
+
puts "task default"
|
4
|
+
end
|
5
|
+
|
6
|
+
def stuff
|
7
|
+
sleep(1)
|
8
|
+
end
|
9
|
+
|
10
|
+
task :a => [:x, :y] do
|
11
|
+
puts "task a"
|
12
|
+
stuff
|
13
|
+
end
|
14
|
+
|
15
|
+
task :b do
|
16
|
+
puts "task b"
|
17
|
+
stuff
|
18
|
+
end
|
19
|
+
|
20
|
+
task :x do
|
21
|
+
puts "task x"
|
22
|
+
stuff
|
23
|
+
end
|
24
|
+
|
25
|
+
task :y do
|
26
|
+
puts "task y"
|
27
|
+
stuff
|
28
|
+
end
|
29
|
+
|
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.
|
4
|
+
version: 0.8.2.0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James M. Lawrence
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-09-
|
12
|
+
date: 2008-09-10 00:00:00 -04:00
|
13
13
|
default_executable: drake
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -50,7 +50,6 @@ files:
|
|
50
50
|
- Rakefile.drake
|
51
51
|
- TODO
|
52
52
|
- bin/drake
|
53
|
-
- bin/rake
|
54
53
|
- lib/rake/classic_namespace.rb
|
55
54
|
- lib/rake/clean.rb
|
56
55
|
- lib/rake/comp_tree/algorithm.rb
|
@@ -122,6 +121,8 @@ files:
|
|
122
121
|
- test/test_top_level_functions.rb
|
123
122
|
- test/data/imports/deps.mf
|
124
123
|
- test/data/sample.mf
|
124
|
+
- test/Rakefile.seq
|
125
|
+
- test/Rakefile.simple
|
125
126
|
- test/data/chains/Rakefile
|
126
127
|
- test/data/default/Rakefile
|
127
128
|
- test/data/dryrun/Rakefile
|
@@ -166,7 +167,7 @@ rdoc_options:
|
|
166
167
|
- --main
|
167
168
|
- README
|
168
169
|
- --title
|
169
|
-
-
|
170
|
+
- "Drake: Distributed Rake"
|
170
171
|
require_paths:
|
171
172
|
- lib
|
172
173
|
required_ruby_version: !ruby/object:Gem::Requirement
|
data/bin/rake
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
#--
|
4
|
-
# Copyright (c) 2003, 2004, 2005, 2006, 2007 Jim Weirich
|
5
|
-
#
|
6
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
-
# of this software and associated documentation files (the "Software"), to
|
8
|
-
# deal in the Software without restriction, including without limitation the
|
9
|
-
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
10
|
-
# sell copies of the Software, and to permit persons to whom the Software is
|
11
|
-
# furnished to do so, subject to the following conditions:
|
12
|
-
#
|
13
|
-
# The above copyright notice and this permission notice shall be included in
|
14
|
-
# all copies or substantial portions of the Software.
|
15
|
-
#
|
16
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
21
|
-
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
22
|
-
# IN THE SOFTWARE.
|
23
|
-
#++
|
24
|
-
|
25
|
-
begin
|
26
|
-
require 'rake'
|
27
|
-
rescue LoadError
|
28
|
-
require 'rubygems'
|
29
|
-
require 'rake'
|
30
|
-
end
|
31
|
-
Rake.application.run
|