summaryrefslogtreecommitdiff
path: root/subplot/bumper.py
blob: 66d256497dc58fb844eacd3699c0d8c5bc551c1b (plain)
1
2
3
4
5
6
7
8
9
import os


def install_bumper(ctx):
    runcmd_prepend_to_path = globals()["runcmd_prepend_to_path"]
    srcdir = globals()["srcdir"]

    # Add the directory with built Rust binaries to the path.
    runcmd_prepend_to_path(ctx, dirname=os.path.join(srcdir, "target", "debug"))