Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/delicb/dotbot-golang
Go package installer plugin for dotbot
https://github.com/delicb/dotbot-golang
Last synced: about 1 month ago
JSON representation
Go package installer plugin for dotbot
- Host: GitHub
- URL: https://github.com/delicb/dotbot-golang
- Owner: delicb
- License: mit
- Created: 2017-12-20T18:45:47.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-31T09:31:28.000Z (almost 3 years ago)
- Last Synced: 2024-08-02T12:44:57.384Z (4 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 2
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - delicb/dotbot-golang - Go package installer plugin for dotbot (others)
README
Dotbot-golang
=============Plugin for [dotbot](https://github.com/anishathalye/dotbot) that knows
how to install [GoLang](https://golang.org/) packages.Usage
-----Add this repo as subrepo to your dotfiles and update `install` script.
```bash
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:```bash
"${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:```yaml
- go:
- github.com/delicb/cliware
- package:
- github.com/delicb/cliware-middlewares
flags: [-v, -u]
stdout: true
stderr: true
```