We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1a2efe commit b0ab441Copy full SHA for b0ab441
1 file changed
run
@@ -213,6 +213,9 @@ run() {
213
elif [[ ${FILE#*.} == rb ]]; then
214
ruby "$FILE"
215
216
+ elif [[ ${FILE#*.} == hs ]]; then
217
+ runghc "$FILE"
218
+
219
else
220
_ERROR_UFTC_
221
_EXIT_
@@ -244,10 +247,11 @@ for arg in "$@"; do
244
247
echo " ${yellow}>>${white} Perl"
245
248
echo " ${yellow}>>${white} Lua"
246
249
echo " ${yellow}>>${white} Ruby"
250
+ echo " ${yellow}>>${white} Haskell"
251
echo
252
;;
253
- *".c" | *".cpp" | *".py" | *".rs" | *".java" | *".sh" | *".js" | *".go" | *".pl" | *".lua" | *".rb")
254
+ *".c" | *".cpp" | *".py" | *".rs" | *".java" | *".sh" | *".js" | *".go" | *".pl" | *".lua" | *".rb" | *".hs")
255
FILE_LOCATION=$arg
256
if [[ ! -f $FILE_LOCATION ]]; then
257
0 commit comments