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

Delete exceptions from homebrew-fork #22574

Merged
merged 2 commits into from
Jul 5, 2016

Conversation

AnastasiaSulyagina
Copy link
Contributor

Changes to the core

Using exceptions from homebrew now as a preparation to core merge(#14384).

@MikeMcQuaid
Copy link
Member

👏 It's also worth noting that when Homebrew/brew#390 is merged we'll be verifying that Homebrew's core changes don't end up breaking brew cask which means it'll be safer to rely on Homebrew's internals.

@@ -3,6 +3,7 @@ require 'rake/testtask'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'

$LOAD_PATH.unshift(File.expand_path('../../../../Homebrew', __FILE__))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no guarantee that tests are being run from the tap repo. For example, I have a separate clone in a common directory for Git projects where I do most of my development, so this wouldn't work for me.

Better, I think, to do this:

homebrew_repo = `brew --repository`
$LOAD_PATH.unshift(File.expand_path("#{homebrew_repo}/Library/Homebrew"))

@fanquake fanquake added the core Issue with Homebrew itself rather than with a specific cask. label Jul 4, 2016
@fanquake fanquake changed the title delete exceptions from homebrew-fork Delete exceptions from homebrew-fork Jul 4, 2016
@fanquake fanquake added the awaiting user reply Issue needs response from a user. label Jul 5, 2016
@jawshooah jawshooah merged commit fe4dc6f into Homebrew:master Jul 5, 2016
@jawshooah
Copy link
Contributor

Great work, thanks!

@AnastasiaSulyagina AnastasiaSulyagina deleted the exceptions-deletion branch July 5, 2016 06:00
@miccal miccal removed awaiting user reply Issue needs response from a user. core Issue with Homebrew itself rather than with a specific cask. labels Dec 23, 2016
@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants