mirror of
https://github.com/google/go-github.git
synced 2026-10-29 08:54:47 +08:00
15 lines
257 B
Bash
Executable File
15 lines
257 B
Bash
Executable File
#!/bin/sh
|
|
#/ script/metadata.sh runs ./tools/metadata in the repository root with the given arguments
|
|
|
|
set -e
|
|
|
|
CDPATH="" cd -- "$(dirname -- "$0")/.."
|
|
REPO_DIR="$(pwd)"
|
|
|
|
(
|
|
cd tools/metadata
|
|
go build -o "$REPO_DIR"/bin/metadata
|
|
)
|
|
|
|
exec bin/metadata "$@"
|