Skip to content

Commit 577f697

Browse files
committed
Add homebrew pipeline to .goreleaser.yml
Get onto mac and the popular homebrew. Create a release with this commit and push the ain.rb file to the homebrew-tools repo. Test plan: * Run docker run --rm -it --user 1000 homebrew/brew, brew tap jonaslu/tools brew install ain Verify installation works and binary is accessible after installation. * brew uninstall ain, brew untap jonaslu/tools cleans up and works.
1 parent 778ef41 commit 577f697

2 files changed

Lines changed: 25 additions & 3 deletions

File tree

.goreleaser.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ archives:
2727
- LICENSE*
2828
- assets/*
2929
wrap_in_directory: true
30+
brews:
31+
- tap:
32+
owner: jonaslu
33+
name: homebrew-tools
34+
commit_author:
35+
name: Jonas Lundberg
36+
email: jonasl@iamjonas.me
37+
homepage: "https://github.com/jonaslu/ain"
38+
description: "Ain is a terminal API client. It's an alternative to postman, paw or insomnia."
39+
license: MIT
3040
release:
3141
draft: true
3242
checksum:

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,22 @@ You need curl or httpie installed and available on your `$PATH`. The easiest way
2020
Go (version 1.13 or higher) if you want to use `go get` or build it yourself.
2121

2222
# Installation
23-
If you have go installed on your machine:
24-
`go get -u github.com/jonaslu/ain/cmd/ain`
2523

26-
If you want to download pre-built binaries:
24+
## If you have go installed
25+
Using go get:
26+
```
27+
go get -u github.com/jonaslu/ain/cmd/ain
28+
```
29+
30+
## Via homebrew
31+
Using the package-manager [homebrew](brew.sh)
32+
```
33+
brew tap jonaslu/tools
34+
brew install ain
35+
```
36+
37+
## Download binaries yourself
38+
Install it so it's available on your `$PATH`:
2739
[https://github.com/jonaslu/ain/releases](https://github.com/jonaslu/ain/releases)
2840

2941
# Quick start

0 commit comments

Comments
 (0)