dev 1.0.134 → 1.0.135

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dev/Tasks.rb +4 -2
  2. metadata +1 -1
data/lib/dev/Tasks.rb CHANGED
@@ -21,9 +21,7 @@ CLOBBER.include('bin','obj')
21
21
  def generate_task_hash(project)
22
22
  task_hash = {
23
23
  :info=> { :desc=> 'display information about the rakefile' },
24
- :compile=> { :desc=> 'compile' },
25
24
  :test=> { :desc=> 'run unit tests' },
26
- :replace=> { :desc=> 'replace text' },
27
25
  :loc=> { :desc=> 'count the lines of code' },
28
26
  :setup=> { :desc=> 'setup the project environment' },
29
27
  :pull=> { :desc=> 'rake working copies of dependencies' },
@@ -34,6 +32,10 @@ def generate_task_hash(project)
34
32
  task_hash[:commit]={ :desc=> 'commit changes to source code management' }
35
33
  task_hash[:update]={ :desc=> 'updates changes from source code management' }
36
34
  end
35
+
36
+ task_hash[:compile] = { :desc=> 'compile source code' } if !project[:compile].nil?
37
+ task_hash[:replace] = { :desc=> 'replace text' } if !project[:replace].nil?
38
+
37
39
  if project[:type]=="gem" || project[:type]=="ruby"
38
40
  task_hash[:features] = { :desc=> 'tests cucumber features' }
39
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.134
4
+ version: 1.0.135
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: