palantir / godel-dep-plugin

godel plugin that runs dep

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Autorelease

godel-dep-plugin

godel-dep-plugin is a godel plugin for dep. It packages the dep program and exposes a task that allows the packaged version of dep to be run. It also adds a verify task that runs dep ensure when apply is true and dep ensure -no-vendor -dry-run when apply is false to verify that the state of dep in a project is valid.

Tasks

  • dep: runs the packaged copy of dep. All of the arguments that are passed to this task are passed to the packaged copy of dep.

Verify

When run as part of the verify task, if apply=true, then the dep ensure task is run. If apply=false, the dep ensure -novendor -dry-run task is run, and if the task indicates that the Gopkg.lock file is out of date, the verification fails (without output). If the verification task fails for any other reason, the reason for the failure is printed.

About

godel plugin that runs dep

License:Apache License 2.0


Languages

Language:Go 98.9%Language:Shell 1.1%