dev 1.0.119 → 1.0.120
Sign up to get free protection for your applications and to get access to all the features.
- data/README +13 -6
- data/lib/dev/Project.rb +6 -1
- metadata +1 -1
data/README
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
=dev
|
2
|
+
the dev gem provides functionality to support the development of ruby,c#,c++ and c projects.
|
3
|
+
dev may be used to auto generate rake tasks
|
4
|
+
|
5
|
+
==Installation
|
6
|
+
dev can be installed by the single command
|
7
|
+
gem install dev
|
8
|
+
|
9
|
+
==Usage
|
10
|
+
dev can be included in a ruby script with
|
11
|
+
require 'dev'
|
12
|
+
|
13
|
+
==License
|
1
14
|
Copyright 2012-2013 Lou Parslow
|
2
15
|
|
3
16
|
Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -12,9 +25,3 @@ Copyright 2012-2013 Lou Parslow
|
|
12
25
|
See the License for the specific language governing permissions and
|
13
26
|
limitations under the License.
|
14
27
|
|
15
|
-
dev is a ruby gem that provides functionality supporting common
|
16
|
-
software development tasks.
|
17
|
-
|
18
|
-
==Installation
|
19
|
-
dev can be installed by the single command
|
20
|
-
gem install dev
|
data/lib/dev/Project.rb
CHANGED
@@ -25,7 +25,12 @@ class Project < Hash
|
|
25
25
|
puts " no directives defined for #{string_name}" if self.get_value(string_name).length < 1
|
26
26
|
return if self.get_value(string_name).length < 1
|
27
27
|
|
28
|
-
|
28
|
+
value=self.get_value(string_name)
|
29
|
+
if value.kind_of?(Hash)
|
30
|
+
value.each { |name,value| execute_cmd(value); sleep(0.5) }
|
31
|
+
else
|
32
|
+
value.each { |c| execute_cmd(c); sleep(0.5) }
|
33
|
+
end
|
29
34
|
end
|
30
35
|
|
31
36
|
def execute_cmd(c)
|