peridot/scripts/addlicense
2023-08-24 09:13:16 +02:00

20 lines
433 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
bazel build //vendor/github.com/google/addlicense
bin_path="bazel-bin/vendor/github.com/google/addlicense/addlicense_/addlicense"
$bin_path \
-c "Peridot Authors" \
-ignore "vendor/**" \
-ignore "third_party/**" \
-ignore "node_modules/**" \
-ignore ".ijwb/**" \
-ignore ".idea/**" \
-ignore ".vscode/**" \
-ignore "pnpm-lock.yaml" \
-ignore ".api-linter.yaml" \
-v \
.