Skip to content

Commit

Permalink
Revert ui.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
amikish committed Jan 31, 2024
1 parent cca0d08 commit 8159984
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions ydb/library/yql/tools/yqlrun/ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,15 @@
#

SCRIPT_DIR="$(dirname $(readlink -f "$0"))"
cd $SCRIPT_DIR/../../../../..
ROOT_DIR=$PWD
cd -

ASSETS_DIR="${SCRIPT_DIR}/http/www"
MOUNTS_CFG="${SCRIPT_DIR}/mounts.txt"
UDFS_DIR="${ROOT_DIR}/ydb/library/yql/udfs"
GATEWAYS_CFG="${ROOT_DIR}/ydb/library/yql/cfg/tests/gateways.conf"
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

PORT=${1:-3000}

YA="$ROOT_DIR/ya"
if [ ! -x "$YA" ]; then
YA=ya
fi

if [ "$2" = "--gdb" ]; then
GDB="$YA tool gdb --args"
GDB="ya tool gdb --args"
fi

${GDB} ${SCRIPT_DIR}/yqlrun ui \
Expand Down

0 comments on commit 8159984

Please sign in to comment.