Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fileutils: deprecate rake DSL #3312

Merged
merged 1 commit into from
Oct 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Library/Homebrew/compat/formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,9 @@ def python(_options = {}, &_block)
def startup_plist
odeprecated "Formula#startup_plist", "Formula#plist"
end

def rake(*args)
# odeprecated "FileUtils#rake", "system \"rake\""
system "rake", *args
end
end
5 changes: 0 additions & 5 deletions Library/Homebrew/extend/fileutils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,6 @@ def scons(*args)
system Formulary.factory("scons").opt_bin/"scons", *args
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.
# Uses the system make on Leopard and newer, and the
# path to the actually-installed make on Tiger or older.
Expand Down