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

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

[nongnu] elpa/lua-mode 191eb10 330/468: Makefile: add "nocask" targets


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode 191eb10 330/468: Makefile: add "nocask" targets
Date: Thu, 5 Aug 2021 04:59:03 -0400 (EDT)

branch: elpa/lua-mode
commit 191eb1076b09188b3f4707e8eeb6d646ee2518d2
Author: immerrr <immerrr+lua@gmail.com>
Commit: immerrr <immerrr+lua@gmail.com>

    Makefile: add "nocask" targets
---
 Makefile | 22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile
index 32f46e1..c6af0ff 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ EMACS?=emacs
 EMACS_MAJOR_VERSION=$(shell $(EMACS) -batch -eval '(princ 
emacs-major-version)')
 LUA_MODE_ELC=lua-mode.$(EMACS_MAJOR_VERSION).elc
 
-EMACS_BATCH=cask exec $(EMACS) --batch -Q
+EMACS_BATCH=$(EMACS) --batch -Q
 
 default:
        @echo version is $(VERSION)
@@ -25,16 +25,30 @@ dist:
        rm -f $(DISTFILE) && \
        git archive --format=zip -o $(DISTFILE) --prefix=lua-mode/ HEAD
 
-.PHONY: test-compiled test-uncompiled
+.PHONY: test-compiled-nocask test-uncompiled-nocask test-compiled 
test-uncompiled
 # check both regular and compiled versions
+test-nocask: test-compiled-nocask test-uncompiled-nocask
+
 test: test-compiled test-uncompiled
 
+test-compiled-nocask: $(LUA_MODE_ELC)
+       $(EMACS) -batch -l $(LUA_MODE_ELC) -l buttercup -f 
buttercup-run-discover
+
+test-uncompiled-nocask:
+       $(EMACS) -batch -l lua-mode.el -l buttercup -f buttercup-run-discover
+
 test-compiled: $(LUA_MODE_ELC)
        EMACS=$(EMACS) cask exec buttercup -l $(LUA_MODE_ELC)
 
 test-uncompiled:
        EMACS=$(EMACS) cask exec buttercup -l lua-mode.el
 
+tryout:
+       cask exec $(EMACS) -Q -l init-tryout.el test.lua
+
+tryout-nocask:
+       $(EMACS) -Q -l init-tryout.el test.lua
+
 release:
        git fetch && \
        git diff remotes/origin/master --exit-code && \
@@ -42,7 +56,3 @@ release:
        woger lua-l lua-mode lua-mode "release $(VERSION)" "Emacs major mode 
for editing Lua files" release-notes-$(VERSION) 
http://github.com/immerrr/lua-mode/ && \
        git push origin master
        @echo 'Send update to ELPA!'
-
-
-tryout:
-       cask exec $(EMACS) -Q -l init-tryout.el test.lua



reply via email to

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