about summary refs log blame commit diff stats
path: root/subx/run
blob: b0eac8df4b8104d5c338950e7c0140c72ecd1c9a (plain) (tree)
1
2
3
4
5
6
7
8
9




                                         
                     


        







                              
#!/usr/bin/env zsh
# Simulate a specific example using subx.

if [ $# -eq 0 ]
then
  echo "run <binary>"
  exit 1
fi

if [[ $1 == 'test'* ]]
then
  CFLAGS=-g subx run teensy/$1
  exit $?
fi

CFLAGS=-g subx run $1
exit $?