dev_tasks 1.0.16 → 1.0.17
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
- metadata +1 -1
data/lib/dev_tasks.rb
CHANGED
@@ -136,7 +136,7 @@ class DevTasks < Hash
|
|
136
136
|
end
|
137
137
|
|
138
138
|
def setup_svn_export(uri,dir)
|
139
|
-
|
139
|
+
DEV_TASKS[:commands][:setup] << "svn export #{uri} #{dir}" if(!File.exists?(dir))
|
140
140
|
end
|
141
141
|
|
142
142
|
def setup_copy(src,dest)
|
@@ -152,7 +152,7 @@ class DevTasks < Hash
|
|
152
152
|
end
|
153
153
|
end
|
154
154
|
|
155
|
-
def svn_export(dep_dir,uri)
|
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
158
|
Environment.execute "svn export #{v} #{Environment.dev_root}/dep/#{dep_dir}" if !dest.include?("@")
|
data/lib/spec.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"dev_tasks","version":"1.0.
|
1
|
+
{"name":"dev_tasks","version":"1.0.17"}
|