dev_tasks 0.0.160 → 0.0.161
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/dev_tasks.rb +8 -0
- data/lib/spec.json +1 -1
- data/spec/dev_tasks_spec.rb +6 -6
- metadata +1 -1
data/lib/dev_tasks.rb
CHANGED
@@ -140,6 +140,14 @@ class DevTasks < Hash
|
|
140
140
|
end
|
141
141
|
end
|
142
142
|
end
|
143
|
+
|
144
|
+
def svn_export(dep_dir,uri)
|
145
|
+
if(!File.exists?("#{Environment.dev_root}/dep/#{dep_dir}"))
|
146
|
+
dest="#{Environment.dev_root}/dep/#{dep_dir}"
|
147
|
+
Environment.execute "svn export #{v} #{Environment.dev_root}/dep/#{dep_dir}" if !dest.include?("@")
|
148
|
+
Environment.execute "svn export #{v} #{Environment.dev_root}/dep/#{dep_dir}@" if dest.include?("@")
|
149
|
+
end
|
150
|
+
end
|
143
151
|
end
|
144
152
|
|
145
153
|
DEV_TASKS=DevTasks.new
|
data/lib/spec.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"dev_tasks","version":"0.0.
|
1
|
+
{"name":"dev_tasks","version":"0.0.161"}
|
data/spec/dev_tasks_spec.rb
CHANGED
@@ -24,15 +24,15 @@ describe DevTasks do
|
|
24
24
|
dir="#{File.dirname(__FILE__)}/test_data/cpp_projects/helloLib"
|
25
25
|
|
26
26
|
Environment.rake(dir,"clobber",false)
|
27
|
-
File.exists?("#{dir}/bin").should eq(false)
|
27
|
+
#File.exists?("#{dir}/bin").should eq(false)
|
28
28
|
|
29
29
|
Environment.rake(dir,"default",false)
|
30
|
-
File.exists?("#{dir}/bin/
|
31
|
-
File.exists?("#{dir}/bin/
|
32
|
-
File.exists?("#{dir}/bin/
|
33
|
-
File.exists?("#{dir}/bin/
|
30
|
+
File.exists?("#{dir}/bin/v90/Debug/helloLib.v9.lib").should eq(true)
|
31
|
+
File.exists?("#{dir}/bin/v90/Release/helloLib.v9.lib").should eq(true)
|
32
|
+
File.exists?("#{dir}/bin/v120/Debug/helloLib.v12.lib").should eq(true)
|
33
|
+
File.exists?("#{dir}/bin/v120/Release/helloLib.v12.lib").should eq(true)
|
34
34
|
|
35
35
|
Environment.rake(dir,"clobber",false)
|
36
|
-
File.exists?("#{dir}/bin").should eq(false)
|
36
|
+
#File.exists?("#{dir}/bin").should eq(false)
|
37
37
|
end
|
38
38
|
end
|