poco/runVSCode.sh
Aleksandar Fabijanic 701c8dae2d
Build and dev system improvements (#4193)
* fix shellcheck warnings; add some ci ignore test entries

* fix(make): Redirect build stderr to a file #4112

* enh(dev): add vscode run script and launch items for tests
2023-10-18 18:48:20 +02:00

18 lines
330 B
Bash
Executable File

#!/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"