dev 1.0.116 → 1.0.117
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/lib/dev/Tasks.rb +10 -4
- metadata +1 -1
data/lib/dev/Tasks.rb
CHANGED
@@ -26,6 +26,12 @@ task :add do
|
|
26
26
|
PROJECT.add
|
27
27
|
end
|
28
28
|
|
29
|
+
desc "commit changes to source code management"
|
30
|
+
task :commit do
|
31
|
+
task_start("commit")
|
32
|
+
PROJECT.commit
|
33
|
+
end
|
34
|
+
|
29
35
|
require 'rake/clean'
|
30
36
|
CLEAN.include('doc','*.gem','*.taskstamp*')
|
31
37
|
CLOBBER.include('bin','obj')
|
@@ -36,7 +42,7 @@ def generate_tasks(project)
|
|
36
42
|
#:info=> { :desc=> 'display information about the rakefile' },
|
37
43
|
:compile=> { :desc=> 'compile' },
|
38
44
|
:test=> { :desc=> 'run unit tests' },
|
39
|
-
|
45
|
+
#:commit=> { :desc=> 'commit' },
|
40
46
|
:replace=> { :desc=> 'replace text' },
|
41
47
|
:loc=> { :desc=> 'count the lines of code' },
|
42
48
|
:setup=> { :desc=> 'setup the project environment' },
|
@@ -64,14 +70,14 @@ def generate_tasks(project)
|
|
64
70
|
end
|
65
71
|
|
66
72
|
if("#{RUBY_VERSION}"<="1.9.1")
|
67
|
-
task :add do; task_start('add'); PROJECT.add; end
|
73
|
+
#task :add do; task_start('add'); PROJECT.add; end
|
68
74
|
task :check do; task_start('check'); PROJECT.check; end
|
69
75
|
task :update do; task_start('update'); PROJECT.update; end
|
70
76
|
task :setup do; task_start('setup'); PROJECT.setup; end
|
71
77
|
task :compile do; task_start('compile'); PROJECT.compile; end
|
72
78
|
task :test do; task_start('test'); PROJECT.test; end
|
73
|
-
task :commit do; task_start('commit'); PROJECT.commit; end
|
79
|
+
#task :commit do; task_start('commit'); PROJECT.commit; end
|
74
80
|
task :replace do; task_start('replace'); PROJECT.replace; end
|
75
81
|
task :loc do; task_start('loc'); PROJECT.loc; end
|
76
|
-
task :info do; task_start('info'); PROJECT.info; end
|
82
|
+
#task :info do; task_start('info'); PROJECT.info; end
|
77
83
|
end
|