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

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

[nongnu] elpa/evil-nerd-commenter 118bebd02a 229/235: use github workflo


From: ELPA Syncer
Subject: [nongnu] elpa/evil-nerd-commenter 118bebd02a 229/235: use github workflows instead of travis ci
Date: Thu, 6 Jan 2022 02:59:50 -0500 (EST)

branch: elpa/evil-nerd-commenter
commit 118bebd02a489ddf5eee3ab6fb55b3ef37ebe6d4
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: Chen Bin <chenbin.sh@gmail.com>

    use github workflows instead of travis ci
---
 .github/workflows/test.yml | 27 +++++++++++++++++++++++++++
 README.org                 | 12 ++++++------
 evil-nerd-commenter.el     |  2 +-
 3 files changed, 34 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000000..50d7a1ae2f
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,27 @@
+name: CI
+
+on: [push, pull_request]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    strategy:
+      fail-fast: false
+      matrix:
+        emacs_version:
+          - 25.3
+          - 26.3
+          - 27.1
+          - snapshot
+    steps:
+    - uses: purcell/setup-emacs@master
+      with:
+        version: ${{ matrix.emacs_version }}
+
+    - uses: actions/checkout@v2
+
+    - name: Print emacs version
+      run: emacs --version
+
+    - name: Run tests
+      run: make test
diff --git a/README.org b/README.org
index 8f5d2a8f76..7678a0e6c2 100644
--- a/README.org
+++ b/README.org
@@ -1,5 +1,5 @@
 * evil-nerd-commenter
-[[https://travis-ci.org/redguardtoo/evil-nerd-commenter][https://travis-ci.org/redguardtoo/evil-nerd-commenter.svg?branch=master]]
+[[https://github.com/redguardtoo/evil-nerd-commenter/actions/workflows/test.yml][https://github.com/redguardtoo/evil-nerd-commenter/actions/workflows/test.yml/badge.svg]]
 
[[http://melpa.org/#/evil-nerd-commenter][file:http://melpa.org/packages/evil-nerd-commenter-badge.svg]]
 
[[http://stable.melpa.org/#/evil-nerd-commenter][file:http://stable.melpa.org/packages/evil-nerd-commenter-badge.svg]]
 
@@ -9,7 +9,7 @@ A [[http://www.vim.org/scripts/script.php?script_id=1218][Nerd 
Commenter]] emula
 
 I recommend using it with Evil though Evil is optional.
 
-Tested on Emacs 24.4, 24.5, 25.3, 26.1
+Tested on Emacs 25, 26, 27, 28
 
 * Why?
 ** A simple use case on the efficiency
@@ -224,7 +224,7 @@ if(flag==true){ doSomething(); }
 #+END_SRC
 The first line is production code. The second line is your debug code. You 
want to invert the comment status of these two lines (for example, comment out 
first line and uncomment the second line) for debug purpose.
 
-All you need to is =M-x evilnc-toggle-invert-comment-line-by-line= then =C-u 2 
evilnc-comment-or-uncomment-lines=. The first command turn on some flag, so the 
behavior of (un)commenting is different.
+All you need to is =M-x evilnc-toggle-invert-comment-line-by-line= then =C-u 2 
evilnc-comment-or-uncomment-lines=. The first command turn on some flag, so the 
behaviour of (un)commenting is different.
 * Evil usage
 If you use [[http://emacswiki.org/emacs/Evil][Evil]], you can use 
[[http://vimdoc.sourceforge.net/htmldoc/motion.html#text-objects][text objects 
and motions]]. But if you only *deals with lines*, I suggest using 
=evilnc-comment-or-uncomment-lines= instead.
 ** commenter text object "c"
@@ -234,7 +234,7 @@ Press =vac= to select outer object (comment with limiters).
 
 Press =vic= to select inner object (comment without limiter).
 
-You can assign other key instead of "c" to the text object by customizing 
=evilnc-comment-text-object=.
+You can assign other key instead of "c" to the text object by customising 
=evilnc-comment-text-object=.
 ** evilnc-comment-operator
 =evilnc-comment-operator= acts much like the delete/change operator. Takes a 
motion or text object and comments it out, yanking its content in the process.
 
@@ -284,10 +284,10 @@ Most popular programming languages are supported.
 You can set up =evilnc-original-above-comment-when-copy-and-comment= to decide 
which style to use when =evilnc-copy-and-comment-lines= or 
=evilnc-copy-and-comment-operator=,
 - Place the commented out text above original text
 - Or place the original text above commented out text
-** Customize comment style
+** Customise comment style
 Most commands call =evilnc-comment-or-uncomment-region-function=.
 
-You can modify this variable to customize the comment style.
+You can modify this variable to customise the comment style.
 
 #+begin_src elisp
 (with-eval-after-load 'evil-nerd-commenter
diff --git a/evil-nerd-commenter.el b/evil-nerd-commenter.el
index cb9fa955fd..54477f7391 100644
--- a/evil-nerd-commenter.el
+++ b/evil-nerd-commenter.el
@@ -4,7 +4,7 @@
 
 ;; URL: http://github.com/redguardtoo/evil-nerd-commenter
 ;; Version: 3.5.4
-;; Package-Requires: ((emacs "24.4"))
+;; Package-Requires: ((emacs "25.1"))
 ;; Keywords: convenience evil
 ;;
 ;; This file is not part of GNU Emacs.



reply via email to

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