dev_tasks 0.0.144 → 0.0.145
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/publish.rb +1 -1
- data/lib/spec.json +1 -1
- metadata +1 -1
data/lib/publish.rb
CHANGED
@@ -34,7 +34,7 @@ class Publish < Array
|
|
34
34
|
add "svn checkout #{svn_publish_uri} #{local_dir}"
|
35
35
|
Dir.glob(DEV_TASKS[:files][:artifact]).each{|a|
|
36
36
|
f="#{Environment.dev_root}/tmp/#{a}"
|
37
|
-
dest_dir=
|
37
|
+
dest_dir=File.dirname("#{local_dir}/#{a}")
|
38
38
|
Console.debug "dest_dir=#{dest_dir}"
|
39
39
|
add "<%FileUtils.mkdir('#{dest_dir}') if !File.exists?('#{dest_dir}')%>"
|
40
40
|
add "<%FileUtils.cp('#{dep_dir}/#{a}','#{local_dir}/#{a}') if File.exists?('#{dep_dir}/#{a}')%>"
|
data/lib/spec.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"dev_tasks","version":"0.0.
|
1
|
+
{"name":"dev_tasks","version":"0.0.145"}
|