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" ;;