emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/swift-mode 71c82e9 418/496: Add compilation before testing


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode 71c82e9 418/496: Add compilation before testing
Date: Sun, 29 Aug 2021 11:34:19 -0400 (EDT)

branch: elpa/swift-mode
commit 71c82e9b464c75dca52a8e3ab3a155b0e1a26931
Author: taku0 <mxxouy6x3m_github@tatapa.org>
Commit: taku0 <mxxouy6x3m_github@tatapa.org>

    Add compilation before testing
---
 Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index b7039d4..abd9ad1 100644
--- a/Makefile
+++ b/Makefile
@@ -42,13 +42,18 @@ install: package
          --eval '(package-install-file "$(PACKAGE)")'
 
 clean:
-## Cleans the dist directory.
-       rm -rf dist
+## Cleans the dist directory and *.elc.
+       rm -rf dist *.elc
 
 test:
 ## Tests the package.
        $(CASK) exec $(EMACS) --batch -q \
          --eval "(add-to-list 'load-path \""$(shell readlink -f .)"\")" \
          --eval "(add-to-list 'load-path \""$(shell readlink -f .)"/test\")" \
+         -f batch-byte-compile \
+         *.el
+       $(CASK) exec $(EMACS) --batch -q \
+         --eval "(add-to-list 'load-path \""$(shell readlink -f .)"\")" \
+         --eval "(add-to-list 'load-path \""$(shell readlink -f .)"/test\")" \
          -l test/swift-mode-test.el \
          -f swift-mode:run-test



reply via email to

[Prev in Thread] Current Thread [Next in Thread]