github.com/google/go-github/v69@v69.2.0/script/metadata.sh (about)

     1  #!/bin/sh
     2  #/ script/metadata.sh runs ./tools/metadata in the repository root with the given arguments
     3  
     4  set -e
     5  
     6  CDPATH="" cd -- "$(dirname -- "$0")/.."
     7  REPO_DIR="$(pwd)"
     8  
     9  (
    10    cd tools/metadata
    11    go build -o "$REPO_DIR"/bin/metadata
    12  )
    13  
    14  exec bin/metadata "$@"