Mostly using bash filepath mangling and known values to build up information used to find the proper locations of golang code in a container.
10 lines
334 B
Bash
10 lines
334 B
Bash
#! /bin/bash
|
|
|
|
# TODO(ashmrtnz): Needs adjusting based on where source code lands in the repo
|
|
# and where the scripts land in the repo.
|
|
REPO_ROOT=$(dirname $(pwd))
|
|
REPO_CODE="${REPO_ROOT}/src"
|
|
GOLANG_BASE_REPO_PATH="/go/src/github.com/alcionai"
|
|
GOLANG_REPO_PATH="${GOLANG_BASE_REPO_PATH}/$(basename $REPO_ROOT)"
|
|
DEV_TAG="alcionai/dev"
|