summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1e4f9d9..91e0565 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
CURDIR ?= $(.CURDIR)
+BREW ?= $(shell command -v brew 2> /dev/null)
ECLIPSE_JDT ?= $(CURDIR)/eclipse.jdt.ls
LN_FLAGS := -sfn
@@ -10,6 +11,14 @@ all: install
install:
ln $(LN_FLAGS) $(CURDIR) ~/.emacs.d
+install-emacs:
+ifdef BREW
+ brew tap railwaycat/emacsmacport
+ brew install --with-mac-metal --with-emacs-big-sur-icon emacs-mac
+else
+ $(error brew command not found)
+endif
+
install-lsp: install-lsp-go install-lsp-java install-lsp-python install-lsp-rust
install-lsp-go: