File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -451,8 +451,7 @@ unit-test-coverage:
451
451
tidy : # # run go mod tidy
452
452
$(eval MIN_GO_VERSION := $(shell grep -Eo '^go\s+[0-9]+\.[0-9.]+' go.mod | cut -d' ' -f2) )
453
453
$(GO ) mod tidy -compat=$(MIN_GO_VERSION )
454
- # disabled because of issues related to https://github.com/google/go-licenses/issues/128
455
- # @$(MAKE) --no-print-directory $(GO_LICENSE_FILE)
454
+ @$(MAKE ) --no-print-directory $(GO_LICENSE_FILE )
456
455
457
456
vendor : go.mod go.sum
458
457
$(GO ) mod vendor
@@ -471,7 +470,7 @@ tidy-check: tidy
471
470
go-licenses : $(GO_LICENSE_FILE ) # # regenerate go licenses
472
471
473
472
$(GO_LICENSE_FILE ) : go.mod go.sum
474
- -$(GO ) run $(GO_LICENSES_PACKAGE ) save . --force --save_path=$(GO_LICENSE_TMP_DIR )
473
+ -$(GO ) run $(GO_LICENSES_PACKAGE ) save . --force --save_path=$(GO_LICENSE_TMP_DIR ) 2> /dev/null
475
474
$(GO ) run build/generate-go-licenses.go $(GO_LICENSE_TMP_DIR ) $(GO_LICENSE_FILE )
476
475
@rm -rf $(GO_LICENSE_TMP_DIR )
477
476
You can’t perform that action at this time.
0 commit comments