dev 1.0.168 → 1.0.169
Sign up to get free protection for your applications and to get access to all the features.
- 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})
|