Skip to content

Commit ccb8730

Browse files
authored
📖 readme (#4)
- Fix goreleaser deprecation warnings - Add section on local installation to README Pull-Request: #4
1 parent fce336b commit ccb8730

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

‎.goreleaser.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
brews:
2-
- tap:
2+
- repository:
33
owner: evylang
44
name: homebrew-tap
55
branch: main

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ release: nexttag ## Tag and release binaries for different OS on GitHub release
6767
git tag $(NEXTTAG)
6868
git push origin $(NEXTTAG)
6969
[ -z "$(CI)" ] || GITHUB_TOKEN=$$(.github/scripts/app_token) || exit 1; \
70-
goreleaser release --rm-dist
70+
goreleaser release --clean
7171

7272
nexttag:
7373
$(eval NEXTTAG := $(shell $(NEXTTAG_CMD)))

‎README.md‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,21 @@ Try it with:
3131
go install ./...
3232
pratt '1 * 2 + 3 * 4' | svg -o
3333
```
34+
35+
## Installation
36+
37+
You can install the `pratt` command without cloning and rebuilding this repo.
38+
39+
### Linux and Windows
40+
41+
Download the [latest release] for your platform, unzip it and add `pratt`
42+
to your path.
43+
44+
### macOS
45+
46+
Use [Homebrew] to install `pratt`.
47+
48+
brew install evylang/tap/pratt
49+
50+
[latest release]: https://github.com/evylang/pratt/releases/latest
51+
[Homebrew]: https://brew.sh/

0 commit comments

Comments
 (0)