]> git.eshelyaron.com Git - emacs.git/commitdiff
ELPA support
authorPhillip Lord <phillip.lord@russet.org.uk>
Thu, 15 Sep 2016 14:24:57 +0000 (15:24 +0100)
committerPhillip Lord <phillip.lord@russet.org.uk>
Thu, 15 Sep 2016 14:24:57 +0000 (15:24 +0100)
packages/README.org
packages/admin/package-makefile.el

index 9c5fa7b3c28f88f0d3abf795c2205172d5aba21d..17a7cc9aafda2bc69d48f27beefee7c6ca5c7d37 100644 (file)
@@ -42,8 +42,9 @@ necessary for this cannot be here.
 
 Packages now build, test and summarise correctly.
 
-Preliminary ELPA support has been added also, but is correctly
-disabled. Most of these do not have regular test file locations at the moment.
+Preliminary ELPA support has been added also, but is currently
+hardcoded. Most of these do not have regular test file locations at
+the moment.
 
 * Things to do
 
index 5c600c459f415cbd3f2fe5ddbee6d7090d3c4ae6..b30ae6e62b06749f392ffdcf0e93f6d0f0a149f0 100644 (file)
@@ -1,6 +1,7 @@
 (require 'seq)
 
-(defvar package-makefile--elpa nil)
+(defvar package-makefile--elpa
+  (expand-file-name "../../../../elpa-git/master/packages"))
 (defvar package-makefile--log-targets nil)
 (defvar package-makefile--pkg-targets nil)
 
      "\n"
 
      (when package-makefile--elpa
-       (package-makefile--pkg-targets
-        package-makefile--elpa
-        (package-makefile--elpa-dirs
-         package-makefile-0elpa))
-       "\n"
-
-       (package-makefile--test-targets
-        package-makefile--elpa
-        (package-makefile--elpa-dirs
-         package-makefile--elpa)))
+       (concat
+        (package-makefile--pkg-targets
+         package-makefile--elpa
+         (package-makefile--elpa-dirs
+          package-makefile--elpa))
+        "\n"
+
+        (package-makefile--test-targets
+         package-makefile--elpa
+         (package-makefile--elpa-dirs
+          package-makefile--elpa))))
 
      "ert-summarize: " (mapconcat 'identity package-makefile--log-targets " ")
-     "\n\t$(EMACS) -l ert -f ert-summarize-tests-batch-and-exit $^\n\n"
+     "\n\t$(EMACS) --batch -l ert -f ert-summarize-tests-batch-and-exit $^\n\n"
 
      "pkg-all: " (mapconcat 'identity package-makefile--pkg-targets " ")
      "\n\n"