mirror of
https://github.com/prometheus/prometheus.git
synced 2025-11-22 11:11:18 +01:00
With the total optimized copy command. Assumes all vendored packages are
checked out in $GOPATH.
govendor list +v | awk '{print $2}' | while read dep; do echo $dep |
cut -d/ -f1-3; done | uniq | while read dep; do find
$GOPATH/src/$dep -name LICENSE -o -name NOTICE | grep -v vendor |
sed "s;$GOPATH/src/;;"; done | while read license; do [ -f
vendor/$license ] || cp $GOPATH/src/$license vendor/$license; done
2 lines
52 B
Plaintext
2 lines
52 B
Plaintext
Copyright 2012 Matt T. Proud (matt.proud@gmail.com)
|