necktie 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/necktie/rake.rb +2 -2
- data/necktie.gemspec +1 -1
- metadata +1 -1
data/lib/necktie/rake.rb
CHANGED
@@ -15,10 +15,10 @@ module Necktie
|
|
15
15
|
init
|
16
16
|
repo = File.expand_path(".necktie")
|
17
17
|
if File.exist?(repo)
|
18
|
-
|
18
|
+
Dir.chdir repo do
|
19
19
|
puts "Pulling latest updates ..."
|
20
20
|
sh "git pull origin #{ENV["BRANCH"] || "master"}", :verbose=>false
|
21
|
-
end
|
21
|
+
end if options.pull
|
22
22
|
else
|
23
23
|
git_url = ENV["GIT_URL"] or fail "Need GIT_URL variable to point to Git repository, can't clone without it"
|
24
24
|
puts "Cloning #{git_url} to #{repo}"
|
data/necktie.gemspec
CHANGED