Skip to content

Commit d5850e9

Browse files
committed
feat(specs): ✨ add new brew workflows
1 parent 4c57afc commit d5850e9

6 files changed

Lines changed: 76 additions & 0 deletions
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Tap a Homebrew tap repository from GitHub
3+
command: "brew tap {{tap_repository}}"
4+
tags:
5+
- homebrew
6+
description: Taps a Homebrew tap repository (a repository that contains Homebrew formulas) from GitHub.
7+
arguments:
8+
- name: tap_repository
9+
description: The repository to tap
10+
default_value: ~
11+
source_url: "https://docs.brew.sh/Manpage"
12+
author: ifthisthenthat
13+
author_url: "https://github.com/Wyatt-Stanke"
14+
shells: []
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: List all installed Homebrew formulae/casks
3+
command: "brew list"
4+
tags:
5+
- homebrew
6+
description: Lists all installed Homebrew formulae/casks
7+
source_url: "https://docs.brew.sh/Manpage"
8+
author: ifthisthenthat
9+
author_url: "https://github.com/Wyatt-Stanke"
10+
shells: []
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Pin a formula to its current version
3+
command: "brew pin {{formula_name}}"
4+
tags:
5+
- homebrew
6+
description: Pins a version of a homebrew formula to its current version, i.e. it will not be updated when a newer version is available.
7+
arguments:
8+
- name: formula_name
9+
description: The formula to pin
10+
default_value: ~
11+
source_url: "https://docs.brew.sh/Manpage"
12+
author: ifthisthenthat
13+
author_url: "https://github.com/Wyatt-Stanke"
14+
shells: []
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Reinstall all installed Homebrew formulae/casks
3+
command: "brew list -1 | xargs brew reinstall"
4+
tags:
5+
- homebrew
6+
description: Reinstalls all installed Homebrew formulae and casks
7+
source_url: "https://docs.brew.sh/Manpage"
8+
author: ifthisthenthat
9+
author_url: "https://github.com/Wyatt-Stanke"
10+
shells: []

specs/brew/reinstall_formula.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Reinstall a Homebrew formula
3+
command: "brew reinstall {{formula_name}}"
4+
tags:
5+
- homebrew
6+
arguments:
7+
- name: formula_name
8+
description: The formula to reinstall
9+
default_value: ~
10+
description: Reinstall a Homebrew formula
11+
source_url: "https://docs.brew.sh/Manpage"
12+
author: ifthisthenthat
13+
author_url: "https://github.com/Wyatt-Stanke"
14+
shells: []
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Unpin a homebrew formula
3+
command: "brew unpin {{formula_name}}"
4+
tags:
5+
- homebrew
6+
description: Unpins a version of a homebrew formula to its current version, i.e. it will not be updated when a newer version is available.
7+
arguments:
8+
- name: formula_name
9+
description: The formula to unpin
10+
default_value: ~
11+
source_url: "https://docs.brew.sh/Manpage"
12+
author: ifthisthenthat
13+
author_url: "https://github.com/Wyatt-Stanke"
14+
shells: []

0 commit comments

Comments
 (0)