dev_tasks 0.0.149 → 0.0.150

Sign up to get free protection for your applications and to get access to all the features.
data/lib/environment.rb CHANGED
@@ -30,7 +30,7 @@ class Environment < Hash
30
30
  def self.svn_add_all dir
31
31
  Dir.chdir(dir) do
32
32
  Dir.glob('**/*').each{|f|
33
- puts `svn add #{f}`
33
+ puts `svn add #{f} --parents` if(!File.directory?(f))
34
34
  }
35
35
  end
36
36
  end
data/lib/spec.json CHANGED
@@ -1 +1 @@
1
- {"name":"dev_tasks","version":"0.0.149"}
1
+ {"name":"dev_tasks","version":"0.0.150"}
@@ -23,6 +23,9 @@ describe DevTasks do
23
23
  it "should be able to rake cpp static library" do
24
24
  dir="#{File.dirname(__FILE__)}/test_data/cpp_projects/helloLib"
25
25
 
26
+ Environment.rake(dir,"clobber",false)
27
+ File.exists?("#{dir}/bin").should eq(false)
28
+
26
29
  Environment.rake(dir,"default",false)
27
30
  File.exists?("#{dir}/bin/vs9/Debug/helloLib.lib").should eq(true)
28
31
  File.exists?("#{dir}/bin/vs9/Release/helloLib.lib").should eq(true)
@@ -3,4 +3,4 @@ require_relative '../../../../lib/dev_tasks.rb'
3
3
  DEV[:debug]=true
4
4
  DEV[:commands][:setup] << "svnadmin create repo" if(!File.exists?('repo'))
5
5
  DEV[:publish_path]="file:///#{DEV[:working_directory]}/repo"
6
- CLOBBER.include("repo")
6
+ CLOBBER.include("repo","#{Environment.dev_root}/tmp/LEP-open")
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.149
4
+ version: 0.0.150
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: