branch: scratch/editorconfig-cc commit 86807effc21e06ab4685c0fc63725c6842f52629 Author: 10sr <8slashes+...@gmail.com> Commit: Stefan Monnier <monn...@iro.umontreal.ca>
Add make sandbox target This commit adds a new Make target `sandbox`. Issue `make sandbox` to start new Emacs that loads *.el files in current directory and does not load the user init file. --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 73d611472d..ae6a6bc108 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ OBJS = $(SRCS:.el=.elc) $(OBJS): %.elc: %.el $(EMACS) $(BATCHFLAGS) -f batch-byte-compile $^ -.PHONY: all clean test test-travis test-ert test-core test-metadata +.PHONY: all clean test test-travis test-ert test-core test-metadata sandbox test: test-ert test-core test-metadata $(OBJS) $(EMACS) $(BATCHFLAGS) -l editorconfig.el @@ -43,3 +43,9 @@ test-core: core-test/CMakeLists.txt $(OBJS) cd $(PROJECT_ROOT_DIR)/core-test && \ EMACS_BIN=$(EMACS) EDITORCONFIG_CORE_LIBRARY_PATH="$(PROJECT_ROOT_DIR)" \ ctest --output-on-failure . + + +# Start Emacs that loads *.el in current directory and does not load the user +# init file +sandbox: + $(EMACS) -q -L $(PROJECT_ROOT_DIR) $(SRCS:%=-l "%")