summaryrefslogtreecommitdiff
path: root/scripts/.local/bin/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/.local/bin/compiler')
-rwxr-xr-xscripts/.local/bin/compiler3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/.local/bin/compiler b/scripts/.local/bin/compiler
index b784caa..25c0a3c 100755
--- a/scripts/.local/bin/compiler
+++ b/scripts/.local/bin/compiler
@@ -48,6 +48,9 @@ else
ms)
groff -k -T pdf -m -ms "$FILE" > "$BASE.pdf"
;;
+ js)
+ node "$FILE"
+ ;;
tex)
pdflatex "$FILE"
esac