File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -207,6 +207,9 @@ run() {
207207 elif [[ ${FILE#* .} == pl ]]; then
208208 perl " $FILE "
209209
210+ elif [[ ${FILE#* .} == lua ]]; then
211+ lua " $FILE "
212+
210213 else
211214 _ERROR_UFTC_
212215 _EXIT_
@@ -235,10 +238,12 @@ for arg in "$@"; do
235238 echo " ${yellow} >>${white} Bash-Script"
236239 echo " ${yellow} >>${white} Javascript ${cyan} [${white} with ${green} debug${white} support${cyan} ]"
237240 echo " ${yellow} >>${white} Golang"
241+ echo " ${yellow} >>${white} Perl"
242+ echo " ${yellow} >>${white} Lua"
238243 echo
239244 ;;
240245
241- * " .c" | * " .cpp" | * " .py" | * " .rs" | * " .java" | * " .sh" | * " .js" | * " .go" | * " .pl" )
246+ * " .c" | * " .cpp" | * " .py" | * " .rs" | * " .java" | * " .sh" | * " .js" | * " .go" | * " .pl" | * " .lua " )
242247 FILE_LOCATION=$arg
243248 if [[ ! -f $FILE_LOCATION ]]; then
244249 _ERROR_UFTC_
You can’t perform that action at this time.
0 commit comments