require 'formula' class GitNow < Formula homepage 'https://github.com/iwata/git-now' url 'https://github.com/iwata/git-now.git', :tag => 'v0.1.0.9' version '0.1.0.9' head 'https://github.com/iwata/git-now.git', :branch => 'develop' depends_on 'gnu-getopt' def patches DATA end def install system "make", "prefix=#{prefix}", "install" (share+'zsh/site-functions').install 'etc/_git-now' end def caveats; <<-EOS.undent Zsh completion has been installed to: #{HOMEBREW_PREFIX}/share/zsh/site-functions EOS end end # This patch makes sure GNUtools are used on OSX. # gnu-getopt is keg-only hence the backtick expansion. # These aliases only exist for the duration of git-now, # inside the git-now shells. Normal operation of bash is # unaffected - getopt will still find the version supplied # by OSX in other shells, for example. __END__ --- a/git-now +++ b/git-now @@ -1,5 +1,7 @@ #!/bin/sh +alias getopt='`brew --prefix gnu-getopt`/bin/getopt' + # enable debug mode if [ "$DEBUG" = "yes" ]; then set -x ='v0.9.x'>v0.9.x
aboutsummaryrefslogtreecommitdiffstats
path: root/src/services.js
blob: e91a8eca39748a26f9754eaecb234330c8aacd31 (plain)
1
2
3
4
5
6
7
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134