From df31b2912a54cf38496712a473463238230b68d9 Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Sun, 18 Dec 2022 23:29:57 +0800 Subject: [PATCH 01/10] feat: Add command for elisp-lint --- cmds/lint/elisp-lint.js | 34 +++++++++++++++ docs/content/en/Development API/_index.md | 2 +- lisp/_prepare.el | 2 +- lisp/core/compile.el | 2 +- lisp/core/exec.el | 2 +- lisp/core/info.el | 2 +- lisp/core/install-deps.el | 2 +- lisp/core/install.el | 2 +- lisp/core/recipe.el | 2 +- lisp/core/reinstall.el | 2 +- lisp/core/run.el | 2 +- lisp/core/search.el | 2 +- lisp/core/uninstall.el | 2 +- lisp/help/{ => core}/compile | 0 lisp/help/{ => core}/exec | 0 lisp/help/{ => core}/info | 0 lisp/help/{ => core}/init | 0 lisp/help/{ => core}/install | 0 lisp/help/{ => core}/install-deps | 0 lisp/help/{ => core}/recipe | 0 lisp/help/{ => core}/reinstall | 0 lisp/help/{ => core}/run | 0 lisp/help/{ => core}/search | 0 lisp/help/{ => core}/uninstall | 0 lisp/help/lint/elisp-lint | 13 ++++++ lisp/help/lint/elsa | 13 ++++++ lisp/help/lint/indent | 2 +- lisp/lint/elint.el | 2 +- lisp/lint/elisp-lint.el | 51 +++++++++++++++++++++++ lisp/lint/elsa.el | 4 +- lisp/lint/indent.el | 2 +- lisp/lint/regexps.el | 2 +- package-lock.json | 4 +- 33 files changed, 131 insertions(+), 20 deletions(-) create mode 100644 cmds/lint/elisp-lint.js rename lisp/help/{ => core}/compile (100%) rename lisp/help/{ => core}/exec (100%) rename lisp/help/{ => core}/info (100%) rename lisp/help/{ => core}/init (100%) rename lisp/help/{ => core}/install (100%) rename lisp/help/{ => core}/install-deps (100%) rename lisp/help/{ => core}/recipe (100%) rename lisp/help/{ => core}/reinstall (100%) rename lisp/help/{ => core}/run (100%) rename lisp/help/{ => core}/search (100%) rename lisp/help/{ => core}/uninstall (100%) create mode 100644 lisp/help/lint/elisp-lint create mode 100644 lisp/help/lint/elsa create mode 100644 lisp/lint/elisp-lint.el diff --git a/cmds/lint/elisp-lint.js b/cmds/lint/elisp-lint.js new file mode 100644 index 00000000..7ac684d2 --- /dev/null +++ b/cmds/lint/elisp-lint.js @@ -0,0 +1,34 @@ +/** + * Copyright (C) 2022 Jen-Chieh Shen + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Emacs; see the file COPYING. If not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + +"use strict"; + +exports.command = ['elisp-lint [files..]']; +exports.desc = 'run elisp-lint'; +exports.builder = { + files: { + description: 'files you want elisp-lint to run on', + requiresArg: false, + type: 'array', + }, +}; + +exports.handler = async (argv) => { + await UTIL.e_call(argv, 'lint/elisp-lint', argv.files); +}; diff --git a/docs/content/en/Development API/_index.md b/docs/content/en/Development API/_index.md index dfd78681..acef0982 100644 --- a/docs/content/en/Development API/_index.md +++ b/docs/content/en/Development API/_index.md @@ -707,7 +707,7 @@ Print buffer and highlight the `errors` and `warnings`. Print help manual located under `lisp/help/` directory. ```elisp -(eask-help 'search) +(eask-help "core/search") ``` {{< hint info >}} diff --git a/lisp/_prepare.el b/lisp/_prepare.el index 20a323d7..3d8b3536 100644 --- a/lisp/_prepare.el +++ b/lisp/_prepare.el @@ -678,7 +678,7 @@ Eask file in the workspace." (eask--silent (eask-setup-paths))) (eask--with-hooks ,@body)) (eask-msg "✗ Loading Eask file... missing!") - (eask-help 'init))))))))) + (eask-help "core/init"))))))))) ;; ;;; Eask file diff --git a/lisp/core/compile.el b/lisp/core/compile.el index 1a013fa6..4f31cd4e 100644 --- a/lisp/core/compile.el +++ b/lisp/core/compile.el @@ -66,6 +66,6 @@ (eask-package-el-files)))) (eask--compile-files files) (eask-info "(No files have been compiled)") - (eask-help 'compile))) + (eask-help "core/compile"))) ;;; core/compile.el ends here diff --git a/lisp/core/exec.el b/lisp/core/exec.el index 3c99b310..73bb3478 100644 --- a/lisp/core/exec.el +++ b/lisp/core/exec.el @@ -44,6 +44,6 @@ (eask--export-env) (ansi-green "done ✓"))) (eask-info "✗ (No exeuction output)") - (eask-help 'exec))) + (eask-help "core/exec"))) ;;; core/exec.el ends here diff --git a/lisp/core/info.el b/lisp/core/info.el index 5791e76a..d1a4a245 100644 --- a/lisp/core/info.el +++ b/lisp/core/info.el @@ -59,6 +59,6 @@ (eask--print-deps "dependencies:" eask-depends-on) (eask--print-deps "devDependencies:" eask-depends-on-dev)) (eask-info "(Eask file has no package information)") - (eask-help 'info))) + (eask-help "core/info"))) ;;; core/info.el ends here diff --git a/lisp/core/install-deps.el b/lisp/core/install-deps.el index 6d8de3c0..03df6a18 100644 --- a/lisp/core/install-deps.el +++ b/lisp/core/install-deps.el @@ -21,6 +21,6 @@ (eask-warn "No development dependencies found in your Eask file; but continue to install package dependencies")) (eask-install-dependencies)) (eask-info "✗ (No dependencies found in your Eask file)") - (eask-help 'install-deps))) + (eask-help "core/install-deps"))) ;;; core/install-deps.el ends here diff --git a/lisp/core/install.el b/lisp/core/install.el index 15868dc2..f54bc563 100644 --- a/lisp/core/install.el +++ b/lisp/core/install.el @@ -55,6 +55,6 @@ (eask-info "(Installed in %s)" (file-name-directory (locate-library name)))) (eask-info "✗ (No files have been intalled)") - (eask-help 'install))))) + (eask-help "core/install"))))) ;;; core/install.el ends here diff --git a/lisp/core/recipe.el b/lisp/core/recipe.el index 953e420c..2ee5e44d 100644 --- a/lisp/core/recipe.el +++ b/lisp/core/recipe.el @@ -35,6 +35,6 @@ (eask-msg "Recipe: %s" (pp-to-string recipe)) (eask-msg "")) (eask-info "(Repository URL is required to form a recipe)") - (eask-help 'recipe))) + (eask-help "core/recipe"))) ;;; core/recipe.el ends here diff --git a/lisp/core/reinstall.el b/lisp/core/reinstall.el index df2e8560..04808e2a 100644 --- a/lisp/core/reinstall.el +++ b/lisp/core/reinstall.el @@ -43,6 +43,6 @@ (eask-package-reinstall name) (eask-info "(Reinstalled %s)" name)) (eask-info "✗ (No packages have been reintalled)") - (eask-help 'reinstall)))) + (eask-help "core/reinstall")))) ;;; core/reinstall.el ends here diff --git a/lisp/core/run.el b/lisp/core/run.el index 59d99d22..cb9d7e12 100644 --- a/lisp/core/run.el +++ b/lisp/core/run.el @@ -51,7 +51,7 @@ (cond ((null eask-scripts) (eask-info "✗ (No scripts specified)") - (eask-help 'run)) + (eask-help "core/run")) ((eask-all-p) ; Run all scripts (dolist (data (reverse eask-scripts)) (eask--export-command (cdr data)))) diff --git a/lisp/core/search.el b/lisp/core/search.el index 141e10bb..d44cae0e 100644 --- a/lisp/core/search.el +++ b/lisp/core/search.el @@ -40,6 +40,6 @@ (eask-info "(Search result of %s package%s)" (length result) (eask--sinr result "" "s"))) (eask-info "(No search operation; missing queries specification)") - (eask-help 'search))) + (eask-help "core/search"))) ;;; core/search.el ends here diff --git a/lisp/core/uninstall.el b/lisp/core/uninstall.el index 8fbea512..92626cbe 100644 --- a/lisp/core/uninstall.el +++ b/lisp/core/uninstall.el @@ -41,6 +41,6 @@ (eask-package-delete name) (eask-info "(Deleted %s)" name)) (eask-info "✗ (No packages have been unintalled)") - (eask-help 'uninstall)))) + (eask-help "core/uninstall")))) ;;; core/uninstall.el ends here diff --git a/lisp/help/compile b/lisp/help/core/compile similarity index 100% rename from lisp/help/compile rename to lisp/help/core/compile diff --git a/lisp/help/exec b/lisp/help/core/exec similarity index 100% rename from lisp/help/exec rename to lisp/help/core/exec diff --git a/lisp/help/info b/lisp/help/core/info similarity index 100% rename from lisp/help/info rename to lisp/help/core/info diff --git a/lisp/help/init b/lisp/help/core/init similarity index 100% rename from lisp/help/init rename to lisp/help/core/init diff --git a/lisp/help/install b/lisp/help/core/install similarity index 100% rename from lisp/help/install rename to lisp/help/core/install diff --git a/lisp/help/install-deps b/lisp/help/core/install-deps similarity index 100% rename from lisp/help/install-deps rename to lisp/help/core/install-deps diff --git a/lisp/help/recipe b/lisp/help/core/recipe similarity index 100% rename from lisp/help/recipe rename to lisp/help/core/recipe diff --git a/lisp/help/reinstall b/lisp/help/core/reinstall similarity index 100% rename from lisp/help/reinstall rename to lisp/help/core/reinstall diff --git a/lisp/help/run b/lisp/help/core/run similarity index 100% rename from lisp/help/run rename to lisp/help/core/run diff --git a/lisp/help/search b/lisp/help/core/search similarity index 100% rename from lisp/help/search rename to lisp/help/core/search diff --git a/lisp/help/uninstall b/lisp/help/core/uninstall similarity index 100% rename from lisp/help/uninstall rename to lisp/help/core/uninstall diff --git a/lisp/help/lint/elisp-lint b/lisp/help/lint/elisp-lint new file mode 100644 index 00000000..6d9f6ce6 --- /dev/null +++ b/lisp/help/lint/elisp-lint @@ -0,0 +1,13 @@ + +💡 You need to specify file(s) you want the elisp-lint to run + + [+] (package-file "ENTRY") ; One argument with a string + [+] (files "FILE-1" "FILE-2" ...) ; All arguments are wildcard patterns + +For example, + + [+] (files "*.el") + +💡 Tip: You can use the command [files] to show all selected files + + $ eask files diff --git a/lisp/help/lint/elsa b/lisp/help/lint/elsa new file mode 100644 index 00000000..386e3dd5 --- /dev/null +++ b/lisp/help/lint/elsa @@ -0,0 +1,13 @@ + +💡 You need to specify file(s) you want the elsa to run + + [+] (package-file "ENTRY") ; One argument with a string + [+] (files "FILE-1" "FILE-2" ...) ; All arguments are wildcard patterns + +For example, + + [+] (files "*.el") + +💡 Tip: You can use the command [files] to show all selected files + + $ eask files diff --git a/lisp/help/lint/indent b/lisp/help/lint/indent index fbd5000f..8582960a 100644 --- a/lisp/help/lint/indent +++ b/lisp/help/lint/indent @@ -1,5 +1,5 @@ -💡 You need to specify file(s) you want the package-lint to run +💡 You need to specify file(s) you want the indent-lint to run [+] (package-file "ENTRY") ; One argument with a string [+] (files "FILE-1" "FILE-2" ...) ; All arguments are wildcard patterns diff --git a/lisp/lint/elint.el b/lisp/lint/elint.el index 415eed44..b93f35f3 100644 --- a/lisp/lint/elint.el +++ b/lisp/lint/elint.el @@ -42,6 +42,6 @@ (eask-info "(No files have been checked (elint))") (if (eask-args) (eask--print-no-matching-files) - (eask-help 'elint)))) + (eask-help "lint/elint")))) ;;; lint/elint.el ends here diff --git a/lisp/lint/elisp-lint.el b/lisp/lint/elisp-lint.el new file mode 100644 index 00000000..a917f284 --- /dev/null +++ b/lisp/lint/elisp-lint.el @@ -0,0 +1,51 @@ +;;; lint/elisp-lint.el --- Run elisp-lint -*- lexical-binding: t; -*- + +;;; Commentary: +;; +;; Commmand use to run `elisp-lint' for all files +;; +;; $ eask lint elisp-lint [files..] +;; +;; +;; Initialization options: +;; +;; [files..] files you want elisp-lint to run on +;; + +;;; Code: + +(load (expand-file-name + "../_prepare.el" + (file-name-directory (nth 1 (member "-scriptload" command-line-args)))) + nil t) + +(defconst eask--elisp-lint-version nil + "`elisp-lint' version.") + +(defun eask--elisp-lint-process-file (filename) + "Process FILENAME." + (let* ((filename (expand-file-name filename)) + (file (eask-root-del filename)) + success) + (eask-msg "") + (eask-msg "`%s` with elisp-lint (%s)" (ansi-green file) eask--elisp-lint-version) + (eask-with-verbosity 'debug + (setq success (elisp-lint-file filename))) + (when success + (eask-msg "No issues found")))) + +(eask-start + (eask-with-archives "melpa" + (eask-package-install 'elisp-lint)) + (setq eask--elisp-lint-version (eask-package--version-string 'elisp-lint)) + (require 'elisp-lint) + (if-let ((files (eask-args-or-package-el-files))) + (progn + (mapcar #'eask--elisp-lint-process-file files) + (eask-info "(Total of %s files linted)" (length files))) + (eask-info "(No files have been linted)") + (if (eask-args) + (eask--print-no-matching-files) + (eask-help "lint/elisp-lint")))) + +;;; lint/elisp-lint.el ends here diff --git a/lisp/lint/elsa.el b/lisp/lint/elsa.el index 9a4f3990..57d7f589 100644 --- a/lisp/lint/elsa.el +++ b/lisp/lint/elsa.el @@ -9,7 +9,7 @@ ;; ;; Initialization options: ;; -;; [files..] files you want elint to run on +;; [files..] files you want elsa to run on ;; ;;; Code: @@ -51,6 +51,6 @@ (eask-info "(No files have been linted)") (if (eask-args) (eask--print-no-matching-files) - (eask-help 'elsa)))) + (eask-help "lint/elsa")))) ;;; lint/elsa.el ends here diff --git a/lisp/lint/indent.el b/lisp/lint/indent.el index c78ae216..3ebec9e8 100644 --- a/lisp/lint/indent.el +++ b/lisp/lint/indent.el @@ -50,6 +50,6 @@ (eask-info "(No files have been linted)") (if (eask-args) (eask--print-no-matching-files) - (eask-help "package/indent")))) + (eask-help "lint/indent")))) ;;; lint/indent.el ends here diff --git a/lisp/lint/regexps.el b/lisp/lint/regexps.el index 4fbde035..64528cef 100644 --- a/lisp/lint/regexps.el +++ b/lisp/lint/regexps.el @@ -56,6 +56,6 @@ (eask-info "(No files have been linted)") (if (eask-args) (eask--print-no-matching-files) - (eask-help 'regexps)))) + (eask-help "lint/regexps")))) ;;; lint/regexps.el ends here diff --git a/package-lock.json b/package-lock.json index 7529e8e8..04efb1ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@emacs-eask/cli", - "version": "0.7.4", + "version": "0.7.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@emacs-eask/cli", - "version": "0.7.4", + "version": "0.7.5", "license": "GPL-3.0", "dependencies": { "yargs": "^17.0.0" From ac84bfdf152119968a6a819ec453922354dadce1 Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Sun, 18 Dec 2022 23:32:19 +0800 Subject: [PATCH 02/10] Update todo list --- docs/content/en/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/en/_index.md b/docs/content/en/_index.md index 849c6a0a..a5a9aa79 100644 --- a/docs/content/en/_index.md +++ b/docs/content/en/_index.md @@ -65,7 +65,7 @@ but the author is not an expert on these tools. Corrections are welcome. ### Linter -- [ ] [FEAT] Add `elisp-lint` command +- N/A ### Testing From 6013fa01e32369bb135b1098b646cae49d0f94ab Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Sun, 18 Dec 2022 23:38:35 +0800 Subject: [PATCH 03/10] Provide better error result --- lisp/lint/elisp-lint.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/lint/elisp-lint.el b/lisp/lint/elisp-lint.el index a917f284..e682f785 100644 --- a/lisp/lint/elisp-lint.el +++ b/lisp/lint/elisp-lint.el @@ -31,8 +31,11 @@ (eask-msg "`%s` with elisp-lint (%s)" (ansi-green file) eask--elisp-lint-version) (eask-with-verbosity 'debug (setq success (elisp-lint-file filename))) - (when success - (eask-msg "No issues found")))) + ;; Report result! + (cond (success + (eask-msg "No issues found")) + ((eask-strict-p) + (eask-error "Linting failed"))))) (eask-start (eask-with-archives "melpa" From 45278f6d856ffaaca7b3346f4d3e1cec89c7b8a4 Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Sun, 18 Dec 2022 23:40:20 +0800 Subject: [PATCH 04/10] Add help for regexps command --- lisp/help/lint/regexps | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lisp/help/lint/regexps diff --git a/lisp/help/lint/regexps b/lisp/help/lint/regexps new file mode 100644 index 00000000..cfe34167 --- /dev/null +++ b/lisp/help/lint/regexps @@ -0,0 +1,13 @@ + +💡 You need to specify file(s) you want the relint to run + + [+] (package-file "ENTRY") ; One argument with a string + [+] (files "FILE-1" "FILE-2" ...) ; All arguments are wildcard patterns + +For example, + + [+] (files "*.el") + +💡 Tip: You can use the command [files] to show all selected files + + $ eask files From 8053b1c4a0b70c71675c4613a88397fd4148d50a Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Sun, 18 Dec 2022 23:41:46 +0800 Subject: [PATCH 05/10] Add missing help elint --- lisp/help/lint/elint | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lisp/help/lint/elint diff --git a/lisp/help/lint/elint b/lisp/help/lint/elint new file mode 100644 index 00000000..d656dac1 --- /dev/null +++ b/lisp/help/lint/elint @@ -0,0 +1,13 @@ + +💡 You need to specify file(s) you want the elint to run + + [+] (package-file "ENTRY") ; One argument with a string + [+] (files "FILE-1" "FILE-2" ...) ; All arguments are wildcard patterns + +For example, + + [+] (files "*.el") + +💡 Tip: You can use the command [files] to show all selected files + + $ eask files From 1ed9df43c2cc16712260ebd533b54949d426885f Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Sun, 18 Dec 2022 23:52:23 +0800 Subject: [PATCH 06/10] update test --- test/commands/local/run.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/commands/local/run.sh b/test/commands/local/run.sh index 118684e6..bcd2bb8a 100644 --- a/test/commands/local/run.sh +++ b/test/commands/local/run.sh @@ -51,14 +51,15 @@ eask run test eask run -all # Linter -eask lint package eask lint checkdoc eask lint declare -eask lint elsa eask lint elint +eask lint elisp-lint +eask lint elsa eask lint indent eask lint keywords -eask lint relint +eask lint package +eask lint regexps # Clean up eask clean .eask From 2b5b8585d1a6444fb887a6ef3cd77185184299d4 Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Sun, 18 Dec 2022 23:52:26 +0800 Subject: [PATCH 07/10] Add doc --- .../Getting Started/Commands and options.md | 26 ++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/docs/content/en/Getting Started/Commands and options.md b/docs/content/en/Getting Started/Commands and options.md index f4ac613e..8f5163fa 100644 --- a/docs/content/en/Getting Started/Commands and options.md +++ b/docs/content/en/Getting Started/Commands and options.md @@ -383,7 +383,7 @@ Commands that lint your Emacs package. ## 🔍 eask lint package -Lint package using [package-lint](https://github.com/purcell/package-lint). +Run [package-lint](https://github.com/purcell/package-lint). ```sh $ eask [GLOBAL-OPTIONS] lint package [FILES..] @@ -391,7 +391,7 @@ $ eask [GLOBAL-OPTIONS] lint package [FILES..] ## 🔍 eask lint checkdoc -Run checkdoc. +Run checkdoc (built-in). ```sh $ eask [GLOBAL-OPTIONS] lint checkdoc [FILES..] @@ -399,15 +399,25 @@ $ eask [GLOBAL-OPTIONS] lint checkdoc [FILES..] ## 🔍 eask lint elint -Run elint. +Run elint (built-in). ```sh $ eask [GLOBAL-OPTIONS] lint elint [FILES..] ``` +## 🔍 eask lint elisp-lint + +Run [elisp-lint](https://github.com/gonewest818/elisp-lint). + +```sh +$ eask [GLOBAL-OPTIONS] lint elisp-lint [FILES..] +``` + +This does respect the `.dir-locals.el` file! 🎉 + ## 🔍 eask lint elsa -Run elsa. +Run [elsa](https://github.com/emacs-elsa/Elsa). ```sh $ eask [GLOBAL-OPTIONS] lint lint elsa [FILES..] @@ -423,7 +433,7 @@ $ eask [GLOBAL-OPTIONS] lint indent [FILES..] ## 🔍 eask lint keywords -Run keywords checker. +Run keywords checker (built-in). ```sh $ eask [GLOBAL-OPTIONS] lint keywords @@ -431,18 +441,22 @@ $ eask [GLOBAL-OPTIONS] lint keywords ## 🔍 eask lint declare +Run check-declare (built-in). + ```sh $ eask [GLOBAL-OPTIONS] lint declare [FILES..] ``` ## 🔍 eask lint regexps -Alias: `lint relint` +Run [relint](https://github.com/mattiase/relint). ```sh $ eask [GLOBAL-OPTIONS] lint regexps [FILES..] ``` +Alias: `lint relint` + # 🚩 Testing ## 🔍 eask test ert From b5148c738238ccdbead56aa81a4375c5d1060d0d Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Sun, 18 Dec 2022 23:53:13 +0800 Subject: [PATCH 08/10] changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fd06a02..effd0f7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how * Merge `clean` commands to one subcommand (#71) * Fix void function `eask-source` to `eask-f-source` (#75) * Fix upcoming breaking changes from `package-build` (#65) +* Add support for `elisp-lint` (#79) ## 0.7.x > Released Sep 08, 2022 From 1f22572834541fdd8de5caa03ba992d8251115e5 Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Mon, 19 Dec 2022 00:26:57 +0800 Subject: [PATCH 09/10] Add package metadata --- test/mini.emacs.d/Eask | 6 ++++-- test/mini.emacs.pkg/Eask | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/test/mini.emacs.d/Eask b/test/mini.emacs.d/Eask index 0b79dda3..98fc1cff 100644 --- a/test/mini.emacs.d/Eask +++ b/test/mini.emacs.d/Eask @@ -1,9 +1,11 @@ (package "mini.emacs.d" "0.0.1" - "Minimal Emacs configuration to run `eask`; only for testing purposes!") + "Minimal test configuration") -(depends-on "emacs" "26.1") +(website-url "https://github.com/emacs-eask/mini.emacs.d") +(keywords "test") +(depends-on "emacs" "26.1") (depends-on "csharp-mode") (setq network-security-level 'low) ; see https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432 diff --git a/test/mini.emacs.pkg/Eask b/test/mini.emacs.pkg/Eask index 966701b4..07d75588 100644 --- a/test/mini.emacs.pkg/Eask +++ b/test/mini.emacs.pkg/Eask @@ -1,13 +1,13 @@ (package "mini.emacs.pkg" "0.0.1" - "Minimal Emacs package to simulate development environment; only for testing purposes!") + "Minimal test package") (website-url "https://github.com/emacs-eask/mini.emacs.pkg") (keywords "test") (package-file "mini.emacs.pkg.el") -(files "*.el" "files/*.el") +(files "files/*.el") (script "test" "echo \"Have a nice day!~ ;)\"") (script "info" "eask info") From aebc221942db13b66f62d2a752c2798109c74709 Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Mon, 19 Dec 2022 00:28:15 +0800 Subject: [PATCH 10/10] clean up doc --- docs/content/en/_index.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/content/en/_index.md b/docs/content/en/_index.md index a5a9aa79..c3b27344 100644 --- a/docs/content/en/_index.md +++ b/docs/content/en/_index.md @@ -63,10 +63,6 @@ but the author is not an expert on these tools. Corrections are welcome. - [ ] [FEAT] Add `add-source` command -### Linter - -- N/A - ### Testing - [ ] [FEAT] Add `ecukes` command