File: metadata.sh

package info (click to toggle)
golang-github-google-go-github 60.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 6,700 kB
  • sloc: sh: 111; makefile: 5
file content (14 lines) | stat: -rwxr-xr-x 257 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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 "$@"