[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/lua-mode 5640afe 332/468: Merge pull request #128 from imm
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/lua-mode 5640afe 332/468: Merge pull request #128 from immerrr/update-makefile-and-travis-yml |
Date: |
Thu, 5 Aug 2021 04:59:04 -0400 (EDT) |
branch: elpa/lua-mode
commit 5640afe440cef7193551c467aaf44fd11b390ee5
Merge: 33097fe a0d6744
Author: dennis again <immerrr@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #128 from immerrr/update-makefile-and-travis-yml
Update makefile and travis yml
---
.travis.yml | 1 +
Makefile | 22 ++++++++++++++++------
2 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 1afca93..910f4f8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,6 +10,7 @@ env:
- EVM_EMACS=emacs-24.3-travis
- EVM_EMACS=emacs-24.4-travis
- EVM_EMACS=emacs-24.5-travis
+ - EVM_EMACS=emacs-25.1-travis
- EVM_EMACS=emacs-git-snapshot-travis
before_install:
- curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw >
travis.sh && source ./travis.sh
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
- [nongnu] elpa/lua-mode 2453e37 272/468: Makefile: account EMACS env variable in 'tryout' target, (continued)
- [nongnu] elpa/lua-mode 2453e37 272/468: Makefile: account EMACS env variable in 'tryout' target, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 3e8d475 275/468: Fixed broken local variable assignments, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 1d804f6 279/468: Drop pre-Emacs23 support macros, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode d6f7e0b 287/468: lua-documentation-function: New custom variable., Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode f2e5c4b 299/468: Merge pull request #90 from Schnouki/lua53, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 625ed2f 281/468: Move credits to AUTHORS, cleanup Commentary section a bit, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 0b41d44 319/468: Merge master into stable, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode ea7e35c 321/468: Escape tabs in lua-make-lua-string, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 33097fe 329/468: Merge pull request #123 from zonuexe/fix/auto-mode-alist, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode e6faecc 328/468: Use \\' instead of $, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 5640afe 332/468: Merge pull request #128 from immerrr/update-makefile-and-travis-yml,
Philip Kaludercic <=
- [nongnu] elpa/lua-mode 56691b8 338/468: Add tests for preserving point location when filling, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 6daec31 342/468: utils: update to new buttercup matcher definition logic (#138), Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode a80d912 350/468: Fix a minor bug in lua-kill-process, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 5a90655 355/468: correct spelling mistake, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode aca4014 356/468: utils: update to new buttercup matcher definition logic (#138), Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode e8281dc 362/468: Fix a minor bug in lua-kill-process, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 1f04654 379/468: travis: enable testing on osx, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode eb93be5 380/468: Merge pull request #158 from immerrr/enable-testing-on-osx, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 4cdee31 388/468: Use proper lexical-bindings instead of lexical-let*, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 5dfc5be 399/468: Merge pull request #168 from immerrr/index-requires-as-imenu-items, Philip Kaludercic, 2021/08/05