X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/757ae4bcc18549e85b3131664ca3639a759ad162..0cda39255827f283e7578cd469ae42daad9556a2:/Makefile diff --git a/Makefile b/Makefile index f86786fb8..7777a67c3 100644 --- a/Makefile +++ b/Makefile @@ -10,17 +10,14 @@ SRCS = js2-mode.el js2-imenu-extras.el OBJS = $(SRCS:.el=.elc) %.elc: %.el - ${EMACS} $(BATCHFLAGS) -f batch-byte-compile $^ + ${EMACS} $(BATCHFLAGS) -L . -f batch-byte-compile $^ all: $(OBJS) clean: -rm -f $(OBJS) -# custom build (require loads) -js2-imenu-extras.elc: js2-mode.elc - ${EMACS} $(BATCHFLAGS) -l ./js2-mode.elc -f batch-byte-compile $*.el - test: - ${EMACS} $(BATCHFLAGS) -l js2-mode.el -l tests/parser.el\ - -l tests/indent.el -l tests/externs.el -f ert-run-tests-batch-and-exit + ${EMACS} $(BATCHFLAGS) -L . -l js2-mode.el -l js2-old-indent.el -l tests/parser.el\ + -l tests/indent.el -l tests/externs.el -l tests/json-path.el \ + -l tests/navigation.el -f ert-run-tests-batch-and-exit