|
12 | 12 | "Git_module1": { |
13 | 13 | "prefix": "Git Module by ref", |
14 | 14 | "body": [ |
15 | | - "mod '${1:name}',", |
16 | | - "\t:git => '${2:repository}',", |
17 | | - "\t:ref => '${3:reference}'" |
| 15 | + "mod '${1:name}', :git => '${2:repository}', :ref => '${3:reference}'" |
18 | 16 | ], |
19 | 17 | "description": "Install from a git repository specified by a git reference e.g. master" |
20 | 18 | }, |
21 | 19 | "Git_module2": { |
22 | 20 | "prefix": "Git Module by commit", |
23 | 21 | "body": [ |
24 | | - "mod '${1:name}',", |
25 | | - "\t:git => '${2:repository}',", |
26 | | - "\t:commit => '${3:commit}'" |
| 22 | + "mod '${1:name}', :git => '${2:repository}', :commit => '${3:commit}'" |
27 | 23 | ], |
28 | 24 | "description": "Install from a git repository specified by a git commit e.g. 1c40e29" |
29 | 25 | }, |
30 | 26 | "Git_module3": { |
31 | 27 | "prefix": "Git Module by tag", |
32 | 28 | "body": [ |
33 | | - "mod '${1:name}',", |
34 | | - "\t:git => '${2:repository}',", |
35 | | - "\t:tag => '${3:tag}'" |
| 29 | + "mod '${1:name}', :git => '${2:repository}', :tag => '${3:tag}'" |
36 | 30 | ], |
37 | 31 | "description": "Install from a git repository specified by a git tag e.g. v1.0.0" |
38 | 32 | }, |
39 | 33 | "Git_module4": { |
40 | 34 | "prefix": "Git Module by branch", |
41 | 35 | "body": [ |
42 | | - "mod '${1:name}',", |
43 | | - "\t:git => '${2:repository}',", |
44 | | - "\t:branch => '${3:branch}'" |
| 36 | + "mod '${1:name}', :git => '${2:repository}', :branch => '${3:branch}'" |
45 | 37 | ], |
46 | 38 | "description": "Install from a git repository specified by a git branch e.g. release" |
47 | 39 | }, |
48 | 40 | "Svn_module1": { |
49 | 41 | "prefix": "Svn Module by revision", |
50 | 42 | "body": [ |
51 | | - "mod '${1:name}',", |
52 | | - "\t:svn => '${2:repository}',", |
53 | | - "\t:revision => '${3:revision}'" |
| 43 | + "mod '${1:name}', :svn => '${2:repository}', :revision => '${3:revision}'" |
54 | 44 | ], |
55 | 45 | "description": "Install from a SVN repository specified by a revision e.g. 154" |
56 | 46 | }, |
|
0 commit comments