commit a67bde70f01b46f88c7187dfc78035c3723df9f0
parent eb76d8ed5d4ffba4ad5cea1672acc3579402eafc
Author: Luke Smith <luke@lukesmith.xyz>
Date: Mon, 20 Apr 2020 16:41:47 -0400
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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" ;;