Skip to content

delicb/dotbot-golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dotbot-golang

Plugin for dotbot that knows how to install GoLang packages.

Usage

Add this repo as subrepo to your dotfiles and update install script.

git submodule add https://github.com/delicb/dotbot-golang

Then, modify install script to add path to dotbot-golang directory that you just added. Only last line is relevant (if it was not changed from default) and after change it might look like this:

"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" --plugin-dir=dotbot-golang "${@}"

To use it, add go directive. Values can be simple (only package name) or more detailed (dict with flags passed to go get command). Example:

- go:
  - github.com/delicb/cliware
  - package:
    - github.com/delicb/cliware-middlewares
    flags: [-v, -u]
    stdout: true
    stderr: true

About

Go package installer plugin for dotbot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages