Skip to content

Commit

Permalink
cmd/webp-manual-test: add a "build ignore" tag, so that "go install
Browse files Browse the repository at this point in the history
golang.org/x/image/..." doesn't install the manual testing program.

Also add a missing copyright notice.

Change-Id: I7ab0a438df09ac8882e7d2482d2bf96d4260f8eb
Reviewed-on: https://go-review.googlesource.com/9277
Reviewed-by: Rob Pike <r@golang.org>
  • Loading branch information
RafayGhafoorf committed Dec 21, 2022
1 parent d160fb6 commit ca428d5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cmd/webp-manual-test/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build ignore
//
// This build tag means that "go install golang.org/x/image/..." doesn't
// install this manual test. Use "go run main.go" to explicitly run it.

// Program webp-manual-test checks that the Go WEBP library's decodings match
// the C WEBP library's.
package main // import "golang.org/x/image/cmd/webp-manual-test"
Expand Down

0 comments on commit ca428d5

Please sign in to comment.