dev_projects 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/project.rb +4 -2
- metadata +1 -1
data/lib/project.rb
CHANGED
@@ -25,8 +25,10 @@ attr_accessor :filename
|
|
25
25
|
|
26
26
|
def pull
|
27
27
|
if(File.exists?(wrk_dir) && File.exists?("#{wrk_dir}/.git"))
|
28
|
-
|
29
|
-
|
28
|
+
Dir.chdir(wrk_dir) do
|
29
|
+
puts "git pull (#{wrk_dir})"
|
30
|
+
puts `git pull`
|
31
|
+
end
|
30
32
|
end
|
31
33
|
end
|
32
34
|
|