Skip to content

Commit

Permalink
Vendorize goimports (elastic#8619)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano authored and ruflin committed Oct 16, 2018
1 parent 68c8de3 commit d1734f4
Show file tree
Hide file tree
Showing 18 changed files with 12,392 additions and 11 deletions.
4 changes: 2 additions & 2 deletions NOTICE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2771,8 +2771,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

--------------------------------------------------------------------
Dependency: golang.org/x/tools
Version: release-branch.go1.9
Revision: 5d2fd3ccab986d52112bf301d47a819783339d0e
Version: release-branch.go1.10
Revision: 156d532d4f67148ceab07c3b59ed7fa13bdbf00c
License type (autodetected): BSD-3-Clause
./vendor/golang.org/x/tools/LICENSE:
--------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion libbeat/scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ crosscompile: $(GOFILES)
.PHONY: check
check: check-headers python-env prepare-tests ## @build Checks project and source code if everything is according to standard
@go vet ${GOPACKAGES}
@go get $(GOIMPORTS_REPO)
@go get $(ES_BEATS)/vendor/$(GOIMPORTS_REPO)
@goimports -local ${GOIMPORTS_LOCAL_PREFIX} -l ${GOFILES_NOVENDOR} | (! grep .) || (echo "Code differs from goimports' style ^" && false)
@${FIND} -name '*.py' -exec autopep8 -d --max-line-length 120 {} \; | (! grep . -q) || (echo "Code differs from autopep8's style" && false)
@${FIND} -wholename "*tests/system/test_*.py" -perm ${PERM_EXEC} -exec false {} + || (echo "Python test files shouldn't be executable, otherwise nose doesn't find them" && false)
Expand Down
45 changes: 45 additions & 0 deletions vendor/golang.org/x/tools/cmd/goimports/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d1734f4

Please sign in to comment.