Merge pull request #5726 from Homebrew/linuxbrew-core
Use Homebrew/linuxbrew-core
This commit is contained in:
commit
cd6a518a22
@ -25,7 +25,7 @@ git_init_if_necessary() {
|
|||||||
then
|
then
|
||||||
CORE_OFFICIAL_REMOTE="https://github.com/Homebrew/homebrew-core"
|
CORE_OFFICIAL_REMOTE="https://github.com/Homebrew/homebrew-core"
|
||||||
else
|
else
|
||||||
CORE_OFFICIAL_REMOTE="https://github.com/Linuxbrew/homebrew-core"
|
CORE_OFFICIAL_REMOTE="https://github.com/Homebrew/linuxbrew-core"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
safe_cd "$HOMEBREW_REPOSITORY"
|
safe_cd "$HOMEBREW_REPOSITORY"
|
||||||
|
@ -2,6 +2,6 @@ class CoreTap < Tap
|
|||||||
# @private
|
# @private
|
||||||
def initialize
|
def initialize
|
||||||
super "Homebrew", "core"
|
super "Homebrew", "core"
|
||||||
@full_name = "Linuxbrew/homebrew-core" unless ENV["HOMEBREW_FORCE_HOMEBREW_ON_LINUX"]
|
@full_name = "Homebrew/linuxbrew-core" unless ENV["HOMEBREW_FORCE_HOMEBREW_ON_LINUX"]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -10,10 +10,13 @@ describe "brew pull", :integration_test do
|
|||||||
.and not_to_output.to_stdout
|
.and not_to_output.to_stdout
|
||||||
.and be_a_failure
|
.and be_a_failure
|
||||||
|
|
||||||
expect { brew "pull", "1" }
|
# Needs Homebrew/homebrew-core
|
||||||
.to output(/Fetching patch/).to_stdout
|
if OS.mac?
|
||||||
.and output(/Current branch is new\-branch/).to_stderr
|
expect { brew "pull", "1" }
|
||||||
.and be_a_failure
|
.to output(/Fetching patch/).to_stdout
|
||||||
|
.and output(/Current branch is new\-branch/).to_stderr
|
||||||
|
.and be_a_failure
|
||||||
|
end
|
||||||
|
|
||||||
expect { brew "pull", "--bump", "https://api.github.com/repos/Homebrew/homebrew-core/pulls/122" }
|
expect { brew "pull", "--bump", "https://api.github.com/repos/Homebrew/homebrew-core/pulls/122" }
|
||||||
.to output(/Fetching patch/).to_stdout
|
.to output(/Fetching patch/).to_stdout
|
||||||
|
@ -83,7 +83,7 @@ eval $(~/.linuxbrew/bin/brew shellenv)
|
|||||||
## Linuxbrew Community
|
## Linuxbrew Community
|
||||||
|
|
||||||
- [@Linuxbrew on Twitter](https://twitter.com/Linuxbrew)
|
- [@Linuxbrew on Twitter](https://twitter.com/Linuxbrew)
|
||||||
- [Linuxbrew/core on GitHub](https://github.com/Linuxbrew/homebrew-core)
|
- [Homebrew/linuxbrew-core on GitHub](https://github.com/Homebrew/linuxbrew-core)
|
||||||
- [Linuxbrew category](https://discourse.brew.sh/c/linuxbrew) of [Homebrew's Discourse](https://discourse.brew.sh)
|
- [Linuxbrew category](https://discourse.brew.sh/c/linuxbrew) of [Homebrew's Discourse](https://discourse.brew.sh)
|
||||||
|
|
||||||
## Sponsors
|
## Sponsors
|
||||||
|
Loading…
x
Reference in New Issue
Block a user