Skip to content

Commit 4ebecc4

Browse files
committed
build: add homebrew tap build
1 parent 6e3bd09 commit 4ebecc4

3 files changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
|| 'release --snapshot --clean' }}
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
3435

3536
- name: Upload snapshot artifacts
3637
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}

.goreleaser.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,20 @@ changelog:
7272
- "Merge pull request"
7373
- "Merge branch"
7474

75+
brews:
76+
- name: runal
77+
repository:
78+
owner: emprcl
79+
name: homebrew-tap
80+
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
81+
homepage: "https://empr.cl/runal/"
82+
description: "Text-based creative coding environment for the terminal"
83+
license: "MIT"
84+
install: |
85+
bin.install "runal"
86+
test: |
87+
system "#{bin}/runal"
88+
7589
release:
7690
github:
7791
owner: emprcl

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ curl -sSL empr.cl/get/runal | bash
3535

3636
### Packages
3737

38+
#### Homebrew (macOS & Linux)
39+
40+
```sh
41+
brew tap emprcl/tap
42+
brew install runal
43+
```
44+
3845
#### AUR
3946

4047
https://aur.archlinux.org/packages/runal

0 commit comments

Comments
 (0)