From f0b99910f3558a426bcc80e2aff54c5d0428e5bb Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 6 Jul 2018 22:49:55 -0700 Subject: 4313 - some helpers for managing test binaries I'm getting sick of hitting the key. --- subx/g | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 subx/g (limited to 'subx/g') diff --git a/subx/g b/subx/g new file mode 100755 index 00000000..dc57cceb --- /dev/null +++ b/subx/g @@ -0,0 +1,14 @@ +#!/usr/bin/env zsh +# Run git commands on a specific example's source. + +if [ $# -eq 0 ] +then + echo "g " + exit 1 +fi + +arg=( $* ) +suffix=$arg[${#arg[@]}] +unset "arg[${#arg[@]}]" + +git ${arg[@]} ./teensy/test$suffix*.[cs] -- cgit 1.4.1-2-gfad0