Files
llgo/_lldb/runlldb.sh

19 lines
332 B
Bash
Raw Normal View History

#!/bin/bash
set -e
2024-09-21 10:03:49 +08:00
# Source common functions and variables
source "$(dirname "$0")/common.sh"
# Check if a package path is provided as an argument
package_path="$DEFAULT_PACKAGE_PATH"
if [ $# -eq 1 ]; then
package_path="$1"
fi
# Build the project
build_project "$package_path"
# Run LLDB
"$LLDB_PATH" "${package_path}/out"