camerondurham / ch

Docker config and shell manager for using (or misusing) containers as dev environments
Apache License 2.0
18 stars 2 forks source link

Use homebrew for installation #28

Closed camerondurham closed 2 years ago

camerondurham commented 2 years ago

Suggestion:

Manually writing an install script is a poor install solution for a go binary. There are existing solutions for this.

  1. Possibly helpful github action: https://github.com/dawidd6/action-homebrew-bump-formula
    1. superfly/flyctl uses this action: link to workflow.yml
  2. Example release action for Golang: https://goreleaser.com/ci/actions/
  3. Should use goreleaser/goreleaser or similar and push to install through homebrew.
    1. Example .goreleaser.yaml from syft.

Acceptance Criteria: (TBD)

camerondurham commented 2 years ago

This could also simplify/resolve issue with install script: https://github.com/csci104/docker/issues/22

Will re-prioritize this hopefully can finish before Fall 2022 USC semester starts. No promises.

camerondurham commented 2 years ago

Closed by the mess of commits I made on 2022-08-14.

Updated README. Can now install on darwin with:

brew tap camerondurham/tap
brew install camerondurham/tap/ch