Skip to content

Commit

Permalink
📖 readme (#4)
Browse files Browse the repository at this point in the history
- Fix goreleaser deprecation warnings
- Add section on local installation to README

Pull-Request: #4
  • Loading branch information
juliaogris committed Oct 5, 2023
1 parent fce336b commit ccb8730
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
brews:
- tap:
- repository:
owner: evylang
name: homebrew-tap
branch: main
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ release: nexttag ## Tag and release binaries for different OS on GitHub release
git tag $(NEXTTAG)
git push origin $(NEXTTAG)
[ -z "$(CI)" ] || GITHUB_TOKEN=$$(.github/scripts/app_token) || exit 1; \
goreleaser release --rm-dist
goreleaser release --clean

nexttag:
$(eval NEXTTAG := $(shell $(NEXTTAG_CMD)))
Expand Down
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,21 @@ Try it with:
go install ./...
pratt '1 * 2 + 3 * 4' | svg -o
```

## Installation

You can install the `pratt` command without cloning and rebuilding this repo.

### Linux and Windows

Download the [latest release] for your platform, unzip it and add `pratt`
to your path.

### macOS

Use [Homebrew] to install `pratt`.

brew install evylang/tap/pratt

[latest release]: https://github.com/evylang/pratt/releases/latest
[Homebrew]: https://brew.sh/

0 comments on commit ccb8730

Please sign in to comment.