Commits

Peter Szilagyi committed 20274ab

Run elisp/jane tests for 'omake runtest'
and don't forget to include elisp/core in load-path.

  • Participants
  • Parent commits 5933ce2

Comments (0)

Files changed (3)

File elisp/jane/Makefile

 .SUFFIXES: .elc .el
 
 %.elc : %.el
-	emacs -q --no-site-file -batch -l ../core/byte-compile-header.el --eval "(add-to-list 'load-path \"../core\")" -f batch-byte-compile $<
+	emacs -q --no-site-file -batch -l ../core/byte-compile-header.el \
+	  -L . -l jane-common -f batch-byte-compile $<
 
 .PHONY: all
 all : $(elc)

File elisp/jane/OMakefile

+runtest: Makefile $(glob *.el)
+  make all clean

File elisp/jane/jane-common.el

 ;; Set site lisp dir for everyone and add load paths                          ;;
 ;;----------------------------------------------------------------------------;;
 
+;; CR pszilagyi: I think I want to rename this jane-directory and do
+;; everything below relative to this, i.e., replace all the other
+;; directory variables.  Objections?
 (defconst jane-jane-lisp
   (file-truename (expand-file-name "."
                                    (file-name-directory (or load-file-name
 (defconst jane-dirs
   '("elisp/jane"
     "elisp/omake"
+    "elisp/core"
     "elisp/contrib"                     ; incl. ert 2012
     "elisp/contrib/evil"
     "elisp/contrib/evil/lib"            ; incl. undo-tree and ert 2011