github.com/boson-project/source-to-image@v1.2.0/hack/build-go.sh (about)

     1  #!/bin/bash
     2  
     3  # This script sets up a go workspace locally and builds all go components.
     4  
     5  set -o errexit
     6  set -o nounset
     7  set -o pipefail
     8  
     9  S2I_ROOT=$(dirname "${BASH_SOURCE}")/..
    10  source "${S2I_ROOT}/hack/common.sh"
    11  
    12  s2i::build::build_binaries "$@"
    13  s2i::build::place_bins
    14  s2i::build::make_binary_symlinks