dev 1.0.132 → 1.0.133
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 +14 -12
- metadata +1 -1
data/lib/dev/Tasks.rb
CHANGED
@@ -14,11 +14,11 @@ end
|
|
14
14
|
task :clean do; task_start "clean"; end
|
15
15
|
task :clobber do; task_start "clobber"; end
|
16
16
|
|
17
|
-
desc "PROJECT information"
|
18
|
-
task :info do
|
19
|
-
task_start("info")
|
20
|
-
PROJECT.info
|
21
|
-
end
|
17
|
+
#desc "PROJECT information"
|
18
|
+
#task :info do
|
19
|
+
# task_start("info")
|
20
|
+
# PROJECT.info
|
21
|
+
#end
|
22
22
|
|
23
23
|
#desc "add files defined by src_glob to source code management"
|
24
24
|
#task :add do
|
@@ -26,11 +26,11 @@ end
|
|
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
|
29
|
+
#desc "commit changes to source code management"
|
30
|
+
#task :commit do
|
31
|
+
# task_start("commit")
|
32
|
+
# PROJECT.commit
|
33
|
+
#end
|
34
34
|
|
35
35
|
require 'rake/clean'
|
36
36
|
CLEAN.include('doc','*.gem','*.taskstamp*','**/*.{suo,sdf}')
|
@@ -39,7 +39,7 @@ CLOBBER.include('bin','obj')
|
|
39
39
|
def generate_task_hash(project)
|
40
40
|
task_hash = {
|
41
41
|
#:add=> { :desc=> 'add files defined by src_glob to source code management' },
|
42
|
-
|
42
|
+
:info=> { :desc=> 'display information about the rakefile' },
|
43
43
|
:compile=> { :desc=> 'compile' },
|
44
44
|
:test=> { :desc=> 'run unit tests' },
|
45
45
|
#:commit=> { :desc=> 'commit' },
|
@@ -48,10 +48,12 @@ def generate_task_hash(project)
|
|
48
48
|
:setup=> { :desc=> 'setup the project environment' },
|
49
49
|
:pull=> { :desc=> 'rake working copies of dependencies' },
|
50
50
|
:check=> { :desc=> 'checks if the project default task may be skipped' },
|
51
|
-
|
51
|
+
#:update=> { :desc=> 'updates changes from source code management' }
|
52
52
|
}
|
53
53
|
if(project[:scm_type]=="svn" || project[:scm_type]=="git")
|
54
54
|
task_hash[:add]={ :desc=> 'add files defined by src_glob to source code management' }
|
55
|
+
task_hash[:commit]={ :desc=> 'commit changes to source code management' }
|
56
|
+
task_hash[:update]={ :desc=> 'updates changes from source code management' }
|
55
57
|
end
|
56
58
|
if project[:type]=="gem" || project[:type]=="ruby"
|
57
59
|
task_hash[:features] = { :desc=> 'tests cucumber features' }
|