Module: MagicRecipes::Git
- Defined in:
- lib/magic_recipes/git.rb
Overview
Git - Deploy-Recipes
NEED FIX .. doesnt work now !!!
Class Method Summary
collapse
Class Method Details
.load_into(configuration) ⇒ Object
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# File 'lib/magic_recipes/git.rb', line 8
def self.load_into(configuration)
configuration.load do
set_default :git_usr, "gitusr"
set_default :git_pwd, "gitpwd"
namespace :git do
desc "avoid Username and Passwort input twice"
task :private do
if git_usr && git_usr != "gitusr" && git_pwd && git_pwd != "gitpwd"
run system( "../../../bin/git_cap #{git_usr} #{git_pwd}" )
end
end
end
end
end
|