summaryrefslogtreecommitdiffstats
path: root/.local/bin/compiler
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-11-01 20:39:02 -0500
committerLuke Smith <luke@lukesmith.xyz>2020-11-01 20:39:02 -0500
commita801ddcbfcf1c0fd01a0c06975571e56c51b077b (patch)
tree4a848169c5841045066914a7f5fde60e43d57fbc /.local/bin/compiler
parentf770ac9df144ff24f7790aa23087abf000d656ff (diff)
parentf08e37bdad7aa7c69c7529fe9e48939a4b21d9cc (diff)
downloadeibhear-a801ddcbfcf1c0fd01a0c06975571e56c51b077b.tar.gz
eibhear-a801ddcbfcf1c0fd01a0c06975571e56c51b077b.tar.zst
eibhear-a801ddcbfcf1c0fd01a0c06975571e56c51b077b.zip
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat (limited to '.local/bin/compiler')
-rwxr-xr-x.local/bin/compiler1
1 files changed, 1 insertions, 0 deletions
diff --git a/.local/bin/compiler b/.local/bin/compiler
index 1892d5f..c56a25a 100755
--- a/.local/bin/compiler
+++ b/.local/bin/compiler
@@ -30,6 +30,7 @@ case "$ext" in
[0-9]) preconv "$file" | refer -PS -e | groff -mandoc -T pdf > "$base".pdf ;;
c) cc "$file" -o "$base" && "$base" ;;
go) go run "$file" ;;
+ cpp) g++ "$file" -o "$base" && "$base" ;;
h) sudo make install ;;
m) octave "$file" ;;
md) if [ -x "$(command -v lowdown)" ]; then