script

script.git
git clone git://git.lenczewski.org/script.git
Log | Files | Refs

debug.sh (234B)


      1 #!/bin/sh
      2 
      3 case "$1" in
      4 	vm)
      5 		shift
      6 		lldbgui -- bin/scriptvm -v $@
      7 		;;
      8 	cc)
      9 		shift
     10 		mkdir -p out
     11 		lldbgui -- bin/scriptcc -v -o out/test $@
     12 		;;
     13 
     14 	*)
     15 		echo "Unknown mode: ${1:-<none>}, must be one of: vm cc"
     16 		exit 1
     17 		;;
     18 esac