Update Homebrew mirror (bottles/casks sync)
This commit is contained in:
@@ -9,23 +9,11 @@ Mirrored packages from upstream Homebrew taps, served from this repository.
|
||||
|
||||
## Usage
|
||||
|
||||
Point Homebrew at the tap (an org/repo name is required for `brew tap`):
|
||||
|
||||
brew tap <org>/tap-ygg <tap-access-url>
|
||||
|
||||
then install normally:
|
||||
|
||||
brew install <formula>
|
||||
brew install --cask <cask>
|
||||
|
||||
Bottles are downloaded from the mirror's bottle domain. Targets that were not
|
||||
mirrored for a formula fall back to building from source.
|
||||
|
||||
Alternatively, for API-mode formula installs, set:
|
||||
For API-mode formula installs, set:
|
||||
|
||||
export HOMEBREW_BOTTLE_DOMAIN=https://homebrew.mirror.ygg/bottles
|
||||
export HOMEBREW_API_DOMAIN=https://homebrew.mirror.ygg/api # if you serve the API JSON
|
||||
|
||||
The external HTTP server must map:
|
||||
/bottles/... -> homebrew.mirror.ygg artifacts/bottles
|
||||
/cask/... -> artifacts/cask
|
||||
export HOMEBREW_API_DOMAIN=https://homebrew.mirror.ygg/api # if API mirroring is enabled
|
||||
|
||||
Reference in New Issue
Block a user