summaryrefslogtreecommitdiff
path: root/subplot/bumper.py
diff options
context:
space:
mode:
Diffstat (limited to 'subplot/bumper.py')
-rw-r--r--subplot/bumper.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/subplot/bumper.py b/subplot/bumper.py
new file mode 100644
index 0000000..66d2564
--- /dev/null
+++ b/subplot/bumper.py
@@ -0,0 +1,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"))