github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/updater/service/build.sh (about)

     1  #!/usr/bin/env bash
     2  
     3  set -e -u -o pipefail # Fail on error
     4  
     5  dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
     6  cd "$dir"
     7  
     8  build_dir=${BUILD_DIR:-/Applications/Keybase.app/Contents/SharedSupport/bin}
     9  dest="$build_dir/updater"
    10  
    11  echo "Building go-updater/service to $dest"
    12  GO15VENDOREXPERIMENT=1 go build -a -o "$dest" github.com/keybase/client/go/updater/service