Debian Codegraph @

script/generate

raw symbols SCIP
1 #!/usr/bin/env bash
2
3 set -exuo pipefail
4
5 # Licenses.
6 license="$(mktemp)"
7 cat > "${license}" <<EOF
8 Copyright {{.Year}} {{.Holder}}. All rights reserved.
9 Use of this source code is governed by a BSD-style
10 license that can be found in the LICENSE file.
11 EOF
12 find . -name '*.go' | xargs addlicense -c 'The Go Authors' -f "${license}"
13 rm "${license}"
14
15 # Go generate.
16 go generate -v -x