dev 1.0.135 → 1.0.136
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dev/Tasks.rb +2 -2
- metadata +1 -1
data/lib/dev/Tasks.rb
CHANGED
@@ -33,8 +33,8 @@ def generate_task_hash(project)
|
|
33
33
|
task_hash[:update]={ :desc=> 'updates changes from source code management' }
|
34
34
|
end
|
35
35
|
|
36
|
-
task_hash[:compile] = { :desc=> 'compile source code' } if
|
37
|
-
task_hash[:replace] = { :desc=> 'replace text' } if
|
36
|
+
task_hash[:compile] = { :desc=> 'compile source code' } if project.has_key?(:compile)
|
37
|
+
task_hash[:replace] = { :desc=> 'replace text' } if project.has_key?(:replace)
|
38
38
|
|
39
39
|
if project[:type]=="gem" || project[:type]=="ruby"
|
40
40
|
task_hash[:features] = { :desc=> 'tests cucumber features' }
|