File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -508,7 +508,8 @@ unit-test-coverage:
508
508
tidy :
509
509
$(eval MIN_GO_VERSION := $(shell grep -Eo '^go\s+[0-9]+\.[0-9.]+' go.mod | cut -d' ' -f2) )
510
510
$(GO ) mod tidy -compat=$(MIN_GO_VERSION )
511
- @$(MAKE ) --no-print-directory $(GO_LICENSE_FILE )
511
+ # disabled because of issues related to https://github.com/google/go-licenses/issues/128
512
+ # @$(MAKE) --no-print-directory $(GO_LICENSE_FILE)
512
513
513
514
vendor : go.mod go.sum
514
515
$(GO ) mod vendor
@@ -527,9 +528,7 @@ tidy-check: tidy
527
528
go-licenses : $(GO_LICENSE_FILE )
528
529
529
530
$(GO_LICENSE_FILE ) : go.mod go.sum
530
- @rm -rf $(GO_LICENSE_FILE )
531
- $(GO ) install $(GO_LICENSES_PACKAGE )
532
- -GOOS=linux CGO_ENABLED=1 go-licenses save . --force --save_path=$(GO_LICENSE_TMP_DIR ) 2> /dev/null
531
+ -$(GO ) run $(GO_LICENSES_PACKAGE ) save . --force --save_path=$(GO_LICENSE_TMP_DIR )
533
532
$(GO ) run build/generate-go-licenses.go $(GO_LICENSE_TMP_DIR ) $(GO_LICENSE_FILE )
534
533
@rm -rf $(GO_LICENSE_TMP_DIR )
535
534
You can’t perform that action at this time.
0 commit comments