mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-07-01 14:37:10 +02:00
18 lines
330 B
Bash
18 lines
330 B
Bash
#!/bin/bash
|
|
#
|
|
# this script sets the proper build/runtime
|
|
# environment before opening poco in vscode
|
|
|
|
self="${BASH_SOURCE[0]}"
|
|
|
|
if [ -d "$self" ] ; then
|
|
basedir="$(cd "$self" || exit; pwd -P)"
|
|
else
|
|
basedir="$(cd "$(dirname "$self")" || exit; pwd -P)"
|
|
fi
|
|
|
|
# shellcheck disable=SC1091
|
|
. "$basedir"/poco_env.bash
|
|
|
|
code "$basedir"
|