dev_tasks 0.0.149 → 0.0.150
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/environment.rb +1 -1
- data/lib/spec.json +1 -1
- data/spec/dev_tasks_spec.rb +3 -0
- data/spec/test_data/cpp_projects/helloLib/rakefile.rb +1 -1
- metadata +1 -1
data/lib/environment.rb
CHANGED
data/lib/spec.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"dev_tasks","version":"0.0.
|
1
|
+
{"name":"dev_tasks","version":"0.0.150"}
|
data/spec/dev_tasks_spec.rb
CHANGED
@@ -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")
|