Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/package/src/set_package_paths.sh
6449 views
1
# Configuration Target Directories
2
export SCRIPT_PATH=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
3
export QUARTO_ROOT=$(cd -- "${SCRIPT_PATH}/../.." &> /dev/null && pwd )
4
export QUARTO_SRC_PATH=${QUARTO_ROOT}/src
5
6
# Full paths are what the Quarto code uses internally. You should never see a _DIR entry in there.
7
# Note that the conda recipe defines some of these itself, so these are mainly just for the
8
# zip file archives that we build.
9
10
# These are the paths within the Quarto source tree - the "package" subfolder.
11
export QUARTO_PACKAGE_PATH=${QUARTO_PACKAGE_PATH=${QUARTO_ROOT}/${QUARTO_PACKAGE_DIR}}
12
13
# These paths end up in the output package or conda build prefix.
14
export QUARTO_DIST_PATH=${QUARTO_DIST_PATH=${QUARTO_PACKAGE_PATH}/${QUARTO_DIST_DIR}}
15
export QUARTO_SHARE_PATH=${QUARTO_SHARE_PATH=${QUARTO_DIST_PATH}/${QUARTO_SHARE_DIR}}
16
export QUARTO_BIN_PATH=${QUARTO_BIN_PATH=${QUARTO_DIST_PATH}/${QUARTO_BIN_DIR}}
17