dev_tasks 0.0.143 → 0.0.144
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
- metadata +1 -1
data/lib/publish.rb
CHANGED
@@ -35,7 +35,8 @@ class Publish < Array
|
|
35
35
|
Dir.glob(DEV_TASKS[:files][:artifact]).each{|a|
|
36
36
|
f="#{Environment.dev_root}/tmp/#{a}"
|
37
37
|
dest_dir="#{File.dirname('#{local_dir}/#{a}')}"
|
38
|
-
|
38
|
+
Console.debug "dest_dir=#{dest_dir}"
|
39
|
+
add "<%FileUtils.mkdir('#{dest_dir}') if !File.exists?('#{dest_dir}')%>"
|
39
40
|
add "<%FileUtils.cp('#{dep_dir}/#{a}','#{local_dir}/#{a}') if File.exists?('#{dep_dir}/#{a}')%>"
|
40
41
|
add "svn add #{local_dir}/#{a} --parents"
|
41
42
|
}
|
data/lib/spec.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"dev_tasks","version":"0.0.
|
1
|
+
{"name":"dev_tasks","version":"0.0.144"}
|