[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/popup 8719cd9 105/184: Merge pull request #71 from auto-co
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/popup 8719cd9 105/184: Merge pull request #71 from auto-complete/use-cask |
Date: |
Wed, 6 Oct 2021 00:01:21 -0400 (EDT) |
branch: elpa/popup
commit 8719cd925a95a1f465d1c3392a130e729ced47b2
Merge: d70cff9 a73a3b1
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>
Merge pull request #71 from auto-complete/use-cask
Use cask
---
.gitignore | 2 +-
.gitmodules | 3 ---
.travis.yml | 24 ++++++++++++++----------
Cask | 7 +++++++
Makefile | 25 ++++++++++++++-----------
lib/ert | 1 -
tests/run-test.el | 14 ++------------
7 files changed, 38 insertions(+), 38 deletions(-)
diff --git a/.gitignore b/.gitignore
index 44f8384..64b1053 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/tests/ert.el
+/.cask/
diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644
index e31e75c..0000000
--- a/.gitmodules
+++ /dev/null
@@ -1,3 +0,0 @@
-[submodule "lib/ert"]
- path = lib/ert
- url = git://github.com/ohler/ert.git
diff --git a/.travis.yml b/.travis.yml
index 1a07d7c..abed12f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,15 +1,19 @@
language: emacs-lisp
+env:
+ matrix:
+ - EMACS=emacs24
+ - EMACS=emacs-snapshot
+ global:
+ - CASK=$HOME/.cask/bin/cask
before_install:
- - git submodule update --init
- - make tests/cl-lib.el
+ - sudo add-apt-repository -y ppa:cassou/emacs
+ - sudo add-apt-repository -y ppa:ubuntu-elisp/ppa
+ - sudo apt-get update -qq
+ - sudo apt-get install -qq $EMACS
- if [ "$EMACS" = 'emacs-snapshot' ]; then
- sudo add-apt-repository -y ppa:cassou/emacs &&
- sudo apt-get update -qq &&
- sudo apt-get install -qq
- emacs-snapshot-el emacs-snapshot-gtk emacs-snapshot;
+ sudo apt-get install -qq emacs-snapshot-el emacs-snapshot-nox;
fi
-env:
- - EMACS=emacs
- - EMACS=emacs-snapshot
+ - curl -fsSkL --max-time 10 --retry 10 --retry-delay 10
+ https://raw.github.com/cask/cask/master/go | python
script:
- make travis-ci EMACS=$EMACS
+ make travis-ci
diff --git a/Cask b/Cask
new file mode 100644
index 0000000..c7b2ddb
--- /dev/null
+++ b/Cask
@@ -0,0 +1,7 @@
+(source gnu)
+(source melpa)
+
+(package-file "popup.el")
+
+(development
+ (depends-on "ert"))
diff --git a/Makefile b/Makefile
index 4fea1d4..6c7c3bc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,25 +1,28 @@
-EMACS=emacs
+EMACS ?= emacs
+CASK ?= cask
EMACS23=emacs23
+ELPA_DIR = \
+ .cask/$(shell $(EMACS) -Q --batch --eval '(princ emacs-version)')/elpa
+
.PHONY: test test-nw test-emacs23 test-emacs23-nw travis-ci
test:
- ${EMACS} -Q -L . -l tests/run-test.el
+ $(CASK) exec $(EMACS) -Q -L . -l tests/run-test.el
test-nw:
- ${EMACS} -Q -nw -L . -l tests/run-test.el
+ $(CASK) exec $(EMACS) -Q -nw -L . -l tests/run-test.el
test-emacs23: tests/ert.el
${EMACS23} -Q -L . -l test/ert.el -l tests/run-test.el
test-emacs23-nw: tests/ert.el
- ${EMACS23} -Q -nw -L . -l test/ert.el -l tests/run-test.el
-
-travis-ci:
- ${EMACS} -batch -Q -l tests/run-test.el
+ $(EMACS23) -Q -nw -L . -l test/ert.el -l tests/run-test.el
-tests/ert.el:
- wget
"http://git.savannah.gnu.org/cgit/emacs.git/plain/lisp/emacs-lisp/ert.el" -O $@
+travis-ci: elpa
+ $(CASK) exec $(EMACS) -batch -Q -l tests/run-test.el
-tests/cl-lib.el:
- wget "http://elpa.gnu.org/packages/cl-lib-0.3.el" -O $@
+elpa: $(ELPA_DIR)
+$(ELPA_DIR): Cask
+ $(CASK) install
+ touch $@
diff --git a/lib/ert b/lib/ert
deleted file mode 160000
index 00aef6e..0000000
--- a/lib/ert
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 00aef6e43d44c6f25323d1a7bdfdc929a3b4ce04
diff --git a/tests/run-test.el b/tests/run-test.el
index 4cb8022..fce1fe2 100644
--- a/tests/run-test.el
+++ b/tests/run-test.el
@@ -1,7 +1,7 @@
;; Usage:
;;
-;; emacs -Q -l tests/run-test.el # interactive mode
-;; emacs -batch -Q -l tests/run-test.el # batch mode
+;; cask exec emacs -Q -l tests/run-test.el # interactive mode
+;; cask exec emacs -batch -Q -l tests/run-test.el # batch mode
;; Utils
@@ -22,16 +22,6 @@
(list popup-test-dir
popup-root-dir))
-
-;; Use ERT from github when this Emacs does not have it
-(unless (locate-library "ert")
- (add-to-list
- 'load-path
- (popup-test-join-path popup-root-dir "lib" "ert" "lisp" "emacs-lisp"))
- (require 'ert-batch)
- (require 'ert-ui))
-
-
;; Load tests
(load "popup-test")
- [nongnu] elpa/popup 1d692e4 066/184: Replace helper functions for some tests., (continued)
- [nongnu] elpa/popup 1d692e4 066/184: Replace helper functions for some tests., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 25e2e7f 043/184: Merge pull request #17 from uk-ar/feature, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 9dcce09 024/184: Merge branch 'master' of github.com:auto-complete/popup-el, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup e995ffa 030/184: Add check for columns of starting points., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 8d7e57e 065/184: Replace popup-test-with-create-popup to popup-create, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 357f037 045/184: Add test case:popup-tip(height), ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup b8c1cb4 054/184: At least one space before summary, if possible, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 7533efe 078/184: Merge pull request #53 from auto-complete/fix-travis, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 64102c2 046/184: Add test case:popup-tip(scroll-bar, min-height), ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 487c0a8 109/184: add :initial-index parameter test, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 8719cd9 105/184: Merge pull request #71 from auto-complete/use-cask,
ELPA Syncer <=
- [nongnu] elpa/popup 1510820 100/184: activate isearch in cascade menu, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 58f55de 096/184: Merge pull request #62 from auto-complete/support-max-width, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup afeaed3 082/184: Merge branch 'master' into use-cl-lib, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 70c2583 093/184: Add 'nostrip' parameter explanation to docstring, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 69d5bf9 095/184: Support max-width for popup instance, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 9587ace 085/184: Merge pull request #55 from auto-complete/fix-bytecompile-warnings, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup d70cff9 101/184: Merge pull request #64 from aki2o/cascade-isearch, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup c02ec73 111/184: Apply the patch of #8., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 895d031 123/184: Add MELPA badges, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup d8fe6b0 102/184: Use Cask instead of 'git submodule', ELPA Syncer, 2021/10/06