cloudfoundry/stratos

View on GitHub
build/bk-fetch-deps.sh

Summary

Maintainability
Test Coverage
#!/usr/bin/env bash

# Fetch the backend dependencies using go modules

set -euo pipefail

# Script folder
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
STRATOS="`cd "${DIR}/..";pwd`"

echo "Fetching backend dependencies"

pushd "${STRATOS}/src/jetstream" > /dev/null
go mod download
popd > /dev/null