Skip to content

unsdk/homebrew-tap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebrew-tap

Homebrew tap repository with generic automation for updating multiple Formulae and Casks from upstream release assets.

Install

These examples assume this repository is published as unsdk/homebrew-tap.

Users can install vs with:

brew tap unsdk/tap
brew install vs

Or in one command:

brew install unsdk/tap/vs

What is in this repo

  • Formula/: generated Formulae
  • Casks/: generated Casks
  • packages/: package definitions that describe where artifacts come from and how they should be rendered
  • .github/workflows/sync-packages.yml: runs the generic sync job on a schedule or by hand
  • scripts/sync_packages.py: loads package configs, fetches release metadata, and rewrites matching Formula/Cask files

Package configuration

Each package definition in packages/*.json declares:

  • whether it is a formula or cask
  • the upstream GitHub repository
  • the generated token/class name
  • the per-platform release asset names
  • install details such as bin.install targets or cask artifacts

packages/vs.json is the current example.

Auto-update behavior

The sync workflow checks every configured package, rewrites the corresponding file in Formula/ or Casks/, then commits and pushes any changes back to this repository.

Adding another Formula or Cask

  1. Add a new JSON config file under packages/
  2. Describe its upstream GitHub release source and platform asset names
  3. Run python3 scripts/sync_packages.py
  4. Commit the generated file under Formula/ or Casks/

No workflow changes are required for additional packages.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors