summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-04-18 10:34:51 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-04-18 10:34:51 -0400
commita1e73417dc6b58073aeefb443ab4ee583730cf63 (patch)
tree4e2f6340824ed00a9617ca771d32ad6359accf3b
parent37788be5d97cf9c32be1abae76fddc77f4ea87f6 (diff)
parentbdbf0d838268575f2d310c769636b165c81f196b (diff)
downloadeibhear-a1e73417dc6b58073aeefb443ab4ee583730cf63.tar.gz
eibhear-a1e73417dc6b58073aeefb443ab4ee583730cf63.tar.zst
eibhear-a1e73417dc6b58073aeefb443ab4ee583730cf63.zip
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
-rwxr-xr-x.local/bin/compiler1
1 files changed, 1 insertions, 0 deletions
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" ;;