rake-sh 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +8 -1
- data/VERSION +1 -1
- data/lib/rake/sh.rb +3 -1
- data/rake-sh.gemspec +1 -1
- metadata +1 -1
data/README.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.2
|
data/lib/rake/sh.rb
CHANGED
@@ -8,7 +8,7 @@ module Rake
|
|
8
8
|
class << self
|
9
9
|
def start(eager_tasks = [])
|
10
10
|
rake_init
|
11
|
-
eager_tasks.each { |task| invoke
|
11
|
+
eager_tasks.each { |task| ::Rake.application[task].invoke }
|
12
12
|
setup_readline
|
13
13
|
|
14
14
|
while buf = Readline.readline("rake> ", true)
|
@@ -51,7 +51,9 @@ module Rake
|
|
51
51
|
end
|
52
52
|
|
53
53
|
def invoke(name)
|
54
|
+
start = Time.now
|
54
55
|
Process.waitpid(fork { ::Rake.application[name].invoke })
|
56
|
+
puts "\e[34m#{Time.now - start}sec\e[0m"
|
55
57
|
end
|
56
58
|
end
|
57
59
|
end
|
data/rake-sh.gemspec
CHANGED