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




                                  
                      


        







                      
#!/usr/bin/env zsh
# Natively run a specific example.

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

if [[ $1 == 'test'* ]]
then
  ./teensy/$1
  exit $?
fi

./$1
exit $?