dev 1.0.168 → 1.0.169
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/cmd/Build.rb +4 -1
- metadata +1 -1
data/lib/dev/cmd/Build.rb
CHANGED
@@ -20,7 +20,10 @@ class Build
|
|
20
20
|
# export to local directory
|
21
21
|
FileUtils.mkdir("#{Dev::Enviroment.dev_root}/exp") if !File.exists?("#{Dev::Environment.dev_root}/exp")
|
22
22
|
FileUtils.rm_r(h[:dir]) if File.exists? h[:dir]
|
23
|
-
|
23
|
+
|
24
|
+
puts "svn exporting #{h[:uri]}@#{h[:revision]} to #{h[:dir]}"
|
25
|
+
Dev::Scm::export("#{h[:uri]}@#{h[:revision]}","#{h[:dir]}",'svn')
|
26
|
+
# Dev::Commands.execute_cmd("svn export #{h[:uri]}@#{h[:revision]} #{h[:dir]}")
|
24
27
|
|
25
28
|
# rake in local directory
|
26
29
|
call=Dev::SystemCall.new({:cmd=>'rake default',:dir=>h[:dir],:capture_output=>true,:capture_error=>true})
|