Skip to content

djcas9/vendorlint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vendorlint

vendorlint was designed to help me prevent imports that have not been added to the vendor directory. vendorlint will also output the source file line/column for the missing dependency.

Usage

Usage: vendorlint [-t] package [package ...]
-t	include test dependencies
-v	vendorlint version number

Example Output

dweb@dweb-linux vendorlint (master*) $ ./bin/vendorlint .
[X] Dependency not vendored: github.com/fatih/color
* vendorlint/lint.go:14:2
[X] Dependency not vendored: github.com/kisielk/gotool
* vendorlint/lint.go:15:2

TODO

Acknowledgments

I was inspired by vendorcheck but wanted to add extra functionality. It became clear that what I wanted to add would result a complete rewrite. I decide to just start something new.

Self-Promotion

About

Make sure all dependents are properly vendored [BETA]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published