mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Added OpenSCAD run conditions (#582)
Default output to STL seems appropriate. STL files can be viewed with a minimalist program like fstl (in the AUR)
This commit is contained in:
parent
6bcdd2bfca
commit
0420f7c119
@ -33,6 +33,7 @@ case "$file" in
|
|||||||
*\.c) cc "$file" -o "$base" && "$base" ;;
|
*\.c) cc "$file" -o "$base" && "$base" ;;
|
||||||
*\.py) python "$file" ;;
|
*\.py) python "$file" ;;
|
||||||
*\.m) octave "$file" ;;
|
*\.m) octave "$file" ;;
|
||||||
|
*\.scad) openscad -o "$base".stl "$file" ;;
|
||||||
*\.go) go run "$file" ;;
|
*\.go) go run "$file" ;;
|
||||||
*\.sent) setsid sent "$file" 2>/dev/null & ;;
|
*\.sent) setsid sent "$file" 2>/dev/null & ;;
|
||||||
*) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;;
|
*) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user