Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ydb/library/yql/tools/yqlrun/mounts.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
MountPoints {
MountPoint: "../../mount/lib"
RootAlias: "/lib"
Library: true
}
2 changes: 1 addition & 1 deletion ydb/library/yql/tools/yqlrun/ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#

SCRIPT_DIR="$(dirname $(readlink -f "$0"))"
UDFS_DIR="${SCRIPT_DIR}/../../udfs;${SCRIPT_DIR}/../../../../../yql/udfs"
UDFS_DIR="${SCRIPT_DIR}/../../udfs;${SCRIPT_DIR}/../../../../../../yql/udfs"
ASSETS_DIR=${SCRIPT_DIR}/http/www
MOUNTS_CFG=${SCRIPT_DIR}/mounts.txt
GATEWAYS_CFG=${SCRIPT_DIR}/../../cfg/tests/gateways.conf
Expand Down
3 changes: 2 additions & 1 deletion ydb/library/yql/tools/yqlrun/uig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
SCRIPT_DIR="$(dirname $(readlink -f "$0"))"
UDFS_DIR="${SCRIPT_DIR}/../../udfs"
ASSETS_DIR=${SCRIPT_DIR}/http/www
MOUNTS_CFG=${SCRIPT_DIR}/mounts.txt
GATEWAYS_CFG=${SCRIPT_DIR}/../../cfg/tests/gateways.conf

PORT=${1:-3000}
Expand All @@ -18,8 +19,8 @@ if [ "$2" = "--gdb" ]; then
GDB="yag tool gdb --args"
fi

export LD_LIBRARY_PATH=.
${GDB} ${SCRIPT_DIR}/yqlrun ui \
--mounts ${MOUNTS_CFG} \
--udfs-dir ${UDFS_DIR} \
--assets ${ASSETS_DIR} \
--gateways-cfg ${GATEWAYS_CFG} \
Expand Down