summaryrefslogtreecommitdiffstats
path: root/.local/bin/compiler
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2023-01-15 08:23:54 -0500
committerLuke Smith <luke@lukesmith.xyz>2023-01-15 08:23:54 -0500
commit9385a569fe356db706ed268a87e77cfa760d58dd (patch)
tree2c8d3b6e3e72f6dd2e211a5cf380baf301d2f545 /.local/bin/compiler
parent5c52bd63394aafbb93b6713b74c148e5a4ec17c7 (diff)
parent5c262da7c39fb0b3cd52acca36f45d4e7c629d37 (diff)
downloadeibhear-9385a569fe356db706ed268a87e77cfa760d58dd.tar.gz
eibhear-9385a569fe356db706ed268a87e77cfa760d58dd.tar.zst
eibhear-9385a569fe356db706ed268a87e77cfa760d58dd.zip
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat (limited to '.local/bin/compiler')
-rwxr-xr-x.local/bin/compiler6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/compiler b/.local/bin/compiler
index 6e28cd0..8420e25 100755
--- a/.local/bin/compiler
+++ b/.local/bin/compiler
@@ -39,9 +39,9 @@ case "$ext" in
java) javac -d classes "$file" && java -cp classes "${1%.*}" ;;
m) octave "$file" ;;
md) if [ -x "$(command -v lowdown)" ]; then
- lowdown --parse-no-intraemph "$file" -Tms | groff -mpdfmark -ms -kept > "$base".pdf
+ lowdown --parse-no-intraemph "$file" -Tms | groff -mpdfmark -ms -kept -T pdf > "$base".pdf
elif [ -x "$(command -v groffdown)" ]; then
- groffdown -i "$file" | groff > "$base.pdf"
+ groffdown -i "$file" | groff -T pdf > "$base".pdf
else
pandoc -t ms --highlight-style=kate -s -o "$base".pdf "$file"
fi ; ;;
@@ -51,7 +51,7 @@ case "$ext" in
py) python "$file" ;;
[rR]md) Rscript -e "rmarkdown::render('$file', quiet=TRUE)" ;;
rs) cargo build ;;
- sass) sassc -a "$file" "$base.css" ;;
+ sass) sassc -a "$file" "$base".css ;;
scad) openscad -o "$base".stl "$file" ;;
sent) setsid -f sent "$file" 2>/dev/null ;;
tex) textype "$file" ;;