Debian Codegraph @

examples/astroid

raw
1 #! /bin/bash
2 #
3 # example launch script that sets up the GIR path and launches
4 # astroid from the source root directory, unbuffered, and logging to
5 # ~/.config/astroid/log
6 #
7 # IMPORTANT: This assumes that you build astroid in the 'build' sub-directory.
8 #
9 # Symlink this to somewhere on your path.
10 #
11
12 ASTROID_DIR=$(readlink -f $0)
13 export ASTROID_DIR=$(dirname $ASTROID_DIR)/..
14
15 # GIR
16 export GI_TYPELIB_PATH=$ASTROID_DIR/build
17
18 $ASTROID_DIR/build/astroid $*
19