dev_tasks 1.0.18 → 1.0.19
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dev_tasks.rb +2 -2
- data/lib/spec.json +1 -1
- data/lib/svnexports.rb +1 -7
- metadata +1 -1
data/lib/dev_tasks.rb
CHANGED
@@ -155,8 +155,8 @@ class DevTasks < Hash
|
|
155
155
|
def self.svn_export(dep_dir,uri)
|
156
156
|
if(!File.exists?("#{Environment.dev_root}/dep/#{dep_dir}"))
|
157
157
|
dest="#{Environment.dev_root}/dep/#{dep_dir}"
|
158
|
-
Environment.execute "svn export #{
|
159
|
-
Environment.execute "svn export #{
|
158
|
+
Environment.execute "svn export #{uri} #{Environment.dev_root}/dep/#{dep_dir}" if !dest.include?("@")
|
159
|
+
Environment.execute "svn export #{uri} #{Environment.dev_root}/dep/#{dep_dir}@" if dest.include?("@")
|
160
160
|
end
|
161
161
|
end
|
162
162
|
end
|
data/lib/spec.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"dev_tasks","version":"1.0.
|
1
|
+
{"name":"dev_tasks","version":"1.0.19"}
|
data/lib/svnexports.rb
CHANGED
@@ -1,11 +1,5 @@
|
|
1
1
|
require_relative './environment.rb'
|
2
2
|
|
3
3
|
class SvnExports < Hash
|
4
|
-
|
5
|
-
if(!File.exists?("#{Environment.dev_root}/dep/#{dep_dir}"))
|
6
|
-
dest="#{Environment.dev_root}/dep/#{dep_dir}"
|
7
|
-
Environment.execute "svn export #{v} #{Environment.dev_root}/dep/#{dep_dir}" if !dest.include?("@")
|
8
|
-
Environment.execute "svn export #{v} #{Environment.dev_root}/dep/#{dep_dir}@" if dest.include?("@")
|
9
|
-
end
|
10
|
-
end
|
4
|
+
|
11
5
|
end
|