Skip to content

Install air to work without ~/go/bin in path #8

@dankinder

Description

@dankinder

Right now we install air with go install and then assume it'll be runnable, but that's not true for people who don't yet have ~/go/bin in their PATH. Although almost all Go devs probably have this, it would be nice for this not to be a barrier to newbies.

Solution 1: change Taskfile.yml to install air into somewhere in PATH. For mac/linux that would be /usr/bin. The install instructions for air may suggest a platform-agnostic way.

Solution 2: check if $(go env GOPATH)/bin is in the current user's PATH, and if not, issue a warning

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions