aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat
diff options
context:
space:
mode:
authorMike McQuaid2016-07-16 22:15:04 +0100
committerMike McQuaid2016-07-29 21:21:29 -0600
commitbf13eb9b597471b045395d0983dc48d0659dd935 (patch)
treef46725717ef71c5af69b7a92bd0268f9112dd9f6 /Library/Homebrew/compat
parent369fc93479006dd73207d8bd6f5e9b839b867463 (diff)
downloadbrew-bf13eb9b597471b045395d0983dc48d0659dd935.tar.bz2
compat/fails_with_llvm: cleanup style.
Diffstat (limited to 'Library/Homebrew/compat')
-rw-r--r--Library/Homebrew/compat/fails_with_llvm.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Homebrew/compat/fails_with_llvm.rb b/Library/Homebrew/compat/fails_with_llvm.rb
index 2c7df721d..4e8b94b03 100644
--- a/Library/Homebrew/compat/fails_with_llvm.rb
+++ b/Library/Homebrew/compat/fails_with_llvm.rb
@@ -1,11 +1,9 @@
class Formula
def fails_with_llvm(_msg = nil, _data = nil)
- opoo "Calling fails_with_llvm in the install method is deprecated"
- puts "Use the fails_with DSL instead"
+ odeprecated "Formula#fails_with_llvm in install"
end
- def self.fails_with_llvm(msg = nil, data = {})
- data = msg if Hash === msg
- fails_with(:llvm) { build(data.delete(:build).to_i) }
+ def self.fails_with_llvm(_msg = nil, _data = {})
+ odeprecated "Formula.fails_with_llvm"
end
end
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251