mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-04 13:49:07 +00:00
Replace external golang-packages config file with an inline array, remove 6 unused packages (actionlint, antidot, gopls, templ, html2md, pup), and update documentation to match cargo script style.
19 lines
435 B
Markdown
19 lines
435 B
Markdown
# install-go-packages
|
|
|
|
Install Go packages defined in the script.
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
scripts/install-go-packages.sh
|
|
```
|
|
|
|
## What it does
|
|
|
|
1. Checks that `go` is available.
|
|
2. Installs each package from the inline list using `go install`.
|
|
3. Runs post-install steps (e.g. generating shell completions).
|
|
4. Clears the Go module and build caches.
|
|
|
|
To add or remove packages, edit the `packages` array in `scripts/install-go-packages.sh`.
|