fileutils: deprecate rake DSL
superenv and the `:ruby` requirement make a `rake` DSL unnecessary.
This commit is contained in:
parent
30b84ac6f3
commit
82afe5d7f7
@ -78,4 +78,9 @@ class Formula
|
|||||||
def startup_plist
|
def startup_plist
|
||||||
odeprecated "Formula#startup_plist", "Formula#plist"
|
odeprecated "Formula#startup_plist", "Formula#plist"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def rake(*args)
|
||||||
|
# odeprecated "FileUtils#rake", "system \"rake\""
|
||||||
|
system "rake", *args
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -101,11 +101,6 @@ module FileUtils
|
|||||||
system Formulary.factory("scons").opt_bin/"scons", *args
|
system Formulary.factory("scons").opt_bin/"scons", *args
|
||||||
end
|
end
|
||||||
|
|
||||||
# Run the `rake` from the `ruby` Homebrew is using rather than whatever is in the `PATH`.
|
|
||||||
def rake(*args)
|
|
||||||
system RUBY_BIN/"rake", *args
|
|
||||||
end
|
|
||||||
|
|
||||||
# Run `make` 3.81 or newer.
|
# Run `make` 3.81 or newer.
|
||||||
# Uses the system make on Leopard and newer, and the
|
# Uses the system make on Leopard and newer, and the
|
||||||
# path to the actually-installed make on Tiger or older.
|
# path to the actually-installed make on Tiger or older.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user