File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 170170
171171for arg in " $@ " ; do
172172 case $arg in
173+
173174 " -h" | " --help" )
174175 echo " $USAGE " && exit 0
175176 ;;
177+
176178 * " .c" | * " .cpp" | * " .py" | * " .rs" | * " .java" )
177179 FILE_LOCATION=$arg
178180 if [[ ! -f $FILE_LOCATION ]]; then
@@ -189,6 +191,7 @@ for arg in "$@"; do
189191 run
190192 fi
191193 ;;
194+
192195 " --cc=" * | " -c=" * )
193196 c=${arg#* =}
194197 if [[ -z $c ]]; then
@@ -200,6 +203,7 @@ for arg in "$@"; do
200203 shift
201204 fi
202205 ;;
206+
203207 " --cxx=" * )
204208 cx=${arg#* =}
205209 if [[ -z $cx ]]; then
@@ -211,13 +215,15 @@ for arg in "$@"; do
211215 shift
212216 fi
213217 ;;
218+
214219 " --python=" * | " -py=" * )
215220 pyv=${arg#* =}
216221 if [ " $pyv " != 3 ] && [ " $pyv " != 2 ]; then
217222 echo " ${red} ERROR: ${white} Expected versions for python are 2 and 3"
218223 _EXIT_
219224 fi
220225 ;;
226+
221227 " --debug" | " d" )
222228 DEBUG=true
223229 ;;
You can’t perform that action at this time.
0 commit comments