Skip to content

Homebrew tap for tools not (yet) submitted to Homebrew Core.

Notifications You must be signed in to change notification settings

blendle/homebrew-blendle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blendle Homebrew tap

Build Status

Homebrew tap for tools not (yet) submitted to Homebrew Core.

Usage

brew tap blendle/blendle
brew install ...

On Linux, install Linuxbrew first.

Bottling a new version

  • edit the formula as you see fit

    export FORMULA=<formula>  # e.g.: epp
    brew edit "Formula/$FORMULA.rb"
    
  • build a new bottle (binary) of the changes

    brew uninstall --force "$FORMULA"
    brew install "Formula/$FORMULA.rb" --build-bottle
    
  • tar the bottle, and retrieve the Ruby code required

    brew bottle $FORMULA --root-url=https://homebrew-blendle.storage.googleapis.com
    # You possibly need to use the option: --force-core-tap
    
  • copy the returned code back into the formula Ruby file

    bottle do
      root_url "https://homebrew-blendle.storage.googleapis.com"
      cellar :any_skip_relocation
      sha256 "9e1da44221d6ce25d8f0c2e88cb633fd1e1da99e75034f631d7e82ea1ea2a337" => :sierra
    end
    
  • upload the generated *.tar.gz file to Google Cloud Storage

    # You might first need to rename the generated tar so it uses '-' instead of '--'.
    # Otherwise brew downloading the bottle will not find the correct file.
    # e.g.: epp--3.1.0.big_sur.bottle.tar.gz to epp-3.1.0.big_sur.bottle.tar.gz
    
    # Seems to be a known problem: https://github.com/Homebrew/brew/pull/4612#commitcomment-29994607
    
    gsutil -m cp -n $FORMULA*.bottle.tar.gz gs://homebrew-blendle
    
  • copy the changes of your local formula to this repository:

    brew cat "Formula/$FORMULA.rb" > "./Formula/$FORMULA.rb"
    
  • commit the changed file to the Git repository

    git add "Formula/$FORMULA.rb"
    git commit
    git push
    

About

Homebrew tap for tools not (yet) submitted to Homebrew Core.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published