dev_tasks 0.0.160 → 0.0.161

Sign up to get free protection for your applications and to get access to all the features.
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.160"}
1
+ {"name":"dev_tasks","version":"0.0.161"}
@@ -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/vs9/Debug/helloLib.lib").should eq(true)
31
- File.exists?("#{dir}/bin/vs9/Release/helloLib.lib").should eq(true)
32
- File.exists?("#{dir}/bin/vs12/Debug/helloLib.lib").should eq(true)
33
- File.exists?("#{dir}/bin/vs12/Release/helloLib.lib").should eq(true)
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev_tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.160
4
+ version: 0.0.161
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: