Skip to content

Commit

Permalink
Use the new license checker instead of the old. (istio#6)
Browse files Browse the repository at this point in the history
- Also add a CODEOWNERS file.
  • Loading branch information
geeknoid authored and istio-testing committed Oct 2, 2019
1 parent 71ba9ef commit a873eb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @istio/wg-test-and-release-maintainers
2 changes: 1 addition & 1 deletion pkg/build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func Build(manifest model.Manifest) error {

// writeLicense will output a LICENSES file with a complete list of licenses from all dependencies.
func writeLicense(manifest model.Manifest) interface{} {
cmd := util.VerboseCommand("go", "run", "tools/license/get_dep_licenses.go")
cmd := util.VerboseCommand("go", "run", "istio.io/tools/cmd/license-lint", "--report")
cmd.Dir = manifest.RepoDir("istio")
o, err := os.Create(path.Join(manifest.OutDir(), "LICENSES"))
if err != nil {
Expand Down

0 comments on commit a873eb7

Please sign in to comment.