summaryrefslogtreecommitdiffstats
path: root/.local/bin/compiler
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-04-20 16:41:47 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-04-20 16:41:47 -0400
commita67bde70f01b46f88c7187dfc78035c3723df9f0 (patch)
tree73cd2801cb418cfd012efa8d46b94874f336bcc5 /.local/bin/compiler
parenteb76d8ed5d4ffba4ad5cea1672acc3579402eafc (diff)
parent0420f7c1190607d8da3af6fae7e9f06a4c134001 (diff)
downloadeibhear-a67bde70f01b46f88c7187dfc78035c3723df9f0.tar.gz
eibhear-a67bde70f01b46f88c7187dfc78035c3723df9f0.tar.zst
eibhear-a67bde70f01b46f88c7187dfc78035c3723df9f0.zip
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat (limited to '.local/bin/compiler')
-rwxr-xr-x.local/bin/compiler1
1 files changed, 1 insertions, 0 deletions
diff --git a/.local/bin/compiler b/.local/bin/compiler
index 474300f..fd812b5 100755
--- a/.local/bin/compiler
+++ b/.local/bin/compiler
@@ -33,6 +33,7 @@ case "$file" in
*\.c) cc "$file" -o "$base" && "$base" ;;
*\.py) python "$file" ;;
*\.m) octave "$file" ;;
+ *\.scad) openscad -o "$base".stl "$file" ;;
*\.go) go run "$file" ;;
*\.sent) setsid sent "$file" 2>/dev/null & ;;
*) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;;