dev_tasks 0.0.129 → 0.0.130
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/publish.rb +2 -1
- data/lib/spec.json +1 -1
- data/lib/verify.rb +1 -0
- metadata +1 -1
data/lib/publish.rb
CHANGED
@@ -25,7 +25,7 @@ class Publish < Array
|
|
25
25
|
svn_publish_uri="#{DEV_TASKS[:publish_path]}/#{DEV_TASKS[:relative_directory]}-#{latestRev}"
|
26
26
|
local_dir="#{Environment.dev_root}/tmp/#{DEV_TASKS[:relative_directory]}@#{latestRev}"
|
27
27
|
FileUtils.mkdir_p(File.dirname(local_dir)) if(!File.exists?(File.dirname(local_dir)))
|
28
|
-
dep_dir="#{Environment.dev_root}/dep/#{DEV_TASKS[:relative_directory]}@#{latestRev}
|
28
|
+
dep_dir="#{Environment.dev_root}/dep/#{DEV_TASKS[:relative_directory]}@#{latestRev}"
|
29
29
|
puts "Publish.update, `svn info #{svn_publish_uri}`"
|
30
30
|
svn_info=`svn info #{svn_publish_uri} 2>&1`
|
31
31
|
#puts "svn_info: #{svn_info}"
|
@@ -37,6 +37,7 @@ class Publish < Array
|
|
37
37
|
add "svn checkout #{svn_publish_uri} #{local_dir}@"
|
38
38
|
DEV_TASKS[:artifacts].each{|a|
|
39
39
|
f="#{Environment.dev_root}/tmp/#{a}"
|
40
|
+
add "<%FileUtils.mkdir(File.dirname('#{local_dir}/#{a}')) if !File.exists?(File.dirname('#{local_dir}/#{a}'))%>"
|
40
41
|
add "<%File.cp('#{dep_dir}/#{a}','#{local_dir}/#{a}'%>"
|
41
42
|
add "svn add #{local_dir}/#{a} --parents"
|
42
43
|
}
|
data/lib/spec.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"dev_tasks","version":"0.0.
|
1
|
+
{"name":"dev_tasks","version":"0.0.130"}
|
data/lib/verify.rb
CHANGED
@@ -17,6 +17,7 @@ class Verify < Array
|
|
17
17
|
add "svn export #{uri} #{dep_dir}@"
|
18
18
|
add "<%Environment.rake('#{dep_dir}','setup',true)%>"
|
19
19
|
add "<%Environment.rake('#{dep_dir}','build',true)%>"
|
20
|
+
add "<%Environment.rake('#{dep_dir}','test',true)%>"
|
20
21
|
add "<%DEV_TASKS[:commands][:publish].update%>"
|
21
22
|
end
|
22
23
|
end
|