mirror of
https://github.com/Valkyrie00/bold-brew.git
synced 2026-03-14 22:35:53 +01:00
Add support for parsing and installing taps from Brewfile entries. Taps are automatically installed at startup before updating Homebrew data. Tap package information is cached for faster subsequent startups. Also fixes thread safety issues with UI notifications in background goroutines and improves error handling for brew command execution.
13 lines
347 B
Go
13 lines
347 B
Go
package models
|
|
|
|
// BrewfileEntry represents a single entry from a Brewfile
|
|
type BrewfileEntry struct {
|
|
Name string
|
|
IsCask bool
|
|
}
|
|
|
|
// BrewfileResult contains all parsed entries from a Brewfile
|
|
type BrewfileResult struct {
|
|
Taps []string // List of taps to install
|
|
Packages []BrewfileEntry // List of packages (formulae and casks)
|
|
}
|