Skip to content

Commit 7c5ee30

Browse files
add sandbox task to help debug installation issues
1 parent 9203c7d commit 7c5ee30

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ todo
66
example
77
.dir-locals.el
88
*~
9+
sandbox

Makefile

+15-1
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,24 @@ clean:
3838
rm -rf *.elc
3939
rm -rf $(WORKDIR)
4040

41-
.PHONY: doc test
41+
.PHONY: doc test sandbox
4242
doc:
4343
cd doc && mermaid -c config.json architecture.mmd -w 940 -p
4444

4545
readme:
4646
ruby -e 'puts IO.read("README.md").split("### Custom Variables")[0] + "### Custom Variables\n\n" + `emacs --batch --eval "$$ESCRIPT"`' | sponge README.md
4747

48+
49+
sandbox:
50+
rm -rf sandbox
51+
mkdir sandbox
52+
emacs -Q --debug \
53+
--eval '(setq user-emacs-directory (file-truename "sandbox"))' \
54+
-l package \
55+
--eval "(add-to-list 'package-archives '(\"gnu\" . \"http://elpa.gnu.org/packages/\") t)" \
56+
--eval "(add-to-list 'package-archives '(\"melpa\" . \"https://melpa.org/packages/\") t)" \
57+
--eval "(package-refresh-contents)" \
58+
--eval "(package-initialize)" \
59+
--eval "(package-install 'tide)" \
60+
--eval "(when (eq system-type 'darwin) (setq mac-option-key-is-meta nil mac-command-key-is-meta t mac-command-modifier 'meta mac-option-modifier 'none))"
61+

0 commit comments

Comments
 (0)