summaryrefslogtreecommitdiff
path: root/subplot/jt.py
diff options
context:
space:
mode:
Diffstat (limited to 'subplot/jt.py')
-rw-r--r--subplot/jt.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/subplot/jt.py b/subplot/jt.py
index 0117736..5441ac3 100644
--- a/subplot/jt.py
+++ b/subplot/jt.py
@@ -4,11 +4,21 @@ import os
def install_jt(ctx):
runcmd_prepend_to_path = globals()["runcmd_prepend_to_path"]
+ runcmd_run = globals()["runcmd_run"]
+ runcmd_exit_code_is_zero = globals()["runcmd_exit_code_is_zero"]
srcdir = globals()["srcdir"]
bindir = os.path.join(srcdir, "target", "debug")
runcmd_prepend_to_path(ctx, bindir)
+ # Configure git.
+
+ runcmd_run(ctx, ["git", "config", "--global", "user.name", "J. Random Hacker"])
+ runcmd_exit_code_is_zero(ctx)
+
+ runcmd_run(ctx, ["git", "config", "--global", "user.email", "subplot@example.com"])
+ runcmd_exit_code_is_zero(ctx)
+
def create_script(ctx, filename=None):
get_file = globals()["get_file"]