* Add Makefile for Hygiene
Signed-off-by: Sora Morimoto <sora@morimoto.io>
* make format
Signed-off-by: Sora Morimoto <sora@morimoto.io>
---------
Signed-off-by: Sora Morimoto <sora@morimoto.io>
Co-authored-by: Kenny Parnell <k.parnell@gmail.com>
* Updated the default packages command to use "go install" for versions
greater than 1.16
* Cleaning up for linting, added condition to also check major version
* Update Version Parsing
Attempts to make shell check happy.
Co-authored-by: john.maguire <john.maguire@cbinsights.com>
Co-authored-by: Kenny Parnell <k.parnell@gmail.com>
This small change prevents `asdf` from downloading the installation archive twice. This reverts a line change from #54.
Side note: according to https://asdf-vm.com/plugins/create.html, `bin/download` should do the downloading, not `bin/install`.
Source the default package list from the env var `$ASDF_GOLANG_DEFAULT_PACKAGES_FILE`, defaulting to `${HOME}/.default-golang-pks` if the former is not set.
* set `GOROOT` and `GOPATH` in install_default_go_pkgs()
* quote paths
* pass GOROOT and GOPATH to the go command when installing default
packages
* remove unnecessary variable
* fix: invalid asdf path in `install_default_golang_pkgs()`
* no need to perform reshim in plugin's install
reshim should be performed in asdf when plugin's `bin/install` returns 0