From bdbf0d838268575f2d310c769636b165c81f196b Mon Sep 17 00:00:00 2001 From: Luke Bubar <43391582+lukerb52@users.noreply.github.com> Date: Wed, 15 Apr 2020 19:58:20 -0400 Subject: [PATCH] Added GNU Octave run conditions (#575) --- .local/bin/compiler | 1 + 1 file changed, 1 insertion(+) diff --git a/.local/bin/compiler b/.local/bin/compiler index 2fefdf5..474300f 100755 --- a/.local/bin/compiler +++ b/.local/bin/compiler @@ -32,6 +32,7 @@ case "$file" in *config.h) sudo make install ;; *\.c) cc "$file" -o "$base" && "$base" ;; *\.py) python "$file" ;; + *\.m) octave "$file" ;; *\.go) go run "$file" ;; *\.sent) setsid sent "$file" 2>/dev/null & ;; *) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;;