From cc8b1c34f67c474cd371f394db1478f2e759828c Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Sun, 29 Oct 2023 19:09:45 -0700 Subject: [PATCH] feat(test): Add melpazoid command (#202) * feat(test): Add melpazoid command * Add directories options * changelog * fix test * Update copyright --- CHANGELOG.md | 1 + cmds/checker/check-eask.js | 6 +-- cmds/clean/all.js | 6 +-- cmds/clean/autoloads.js | 6 +-- cmds/clean/dist.js | 6 +-- cmds/clean/elc.js | 6 +-- cmds/clean/log-file.js | 6 +-- cmds/clean/pkg-file.js | 6 +-- cmds/clean/workspace.js | 6 +-- cmds/core/archives.js | 6 +-- cmds/core/cat.js | 6 +-- cmds/core/clean.js | 6 +-- cmds/core/compile.js | 6 +-- cmds/core/concat.js | 6 +-- cmds/core/create.js | 6 +-- cmds/core/docker.js | 6 +-- cmds/core/emacs.js | 6 +-- cmds/core/eval.js | 6 +-- cmds/core/exec-path.js | 6 +-- cmds/core/exec.js | 6 +-- cmds/core/files.js | 6 +-- cmds/core/generate.js | 6 +-- cmds/core/info.js | 6 +-- cmds/core/init.js | 6 +-- cmds/core/install-deps.js | 6 +-- cmds/core/install.js | 6 +-- cmds/core/keywords.js | 6 +-- cmds/core/link.js | 6 +-- cmds/core/lint.js | 6 +-- cmds/core/list.js | 6 +-- cmds/core/load-path.js | 6 +-- cmds/core/load.js | 6 +-- cmds/core/outdated.js | 6 +-- cmds/core/package-directory.js | 6 +-- cmds/core/package.js | 6 +-- cmds/core/recipe.js | 6 +-- cmds/core/refresh.js | 6 +-- cmds/core/reinstall.js | 6 +-- cmds/core/run.js | 6 +-- cmds/core/search.js | 6 +-- cmds/core/status.js | 6 +-- cmds/core/test.js | 6 +-- cmds/core/uninstall.js | 6 +-- cmds/core/upgrade.js | 6 +-- cmds/create/elpa.js | 6 +-- cmds/create/package.js | 6 +-- cmds/generate/autoloads.js | 6 +-- cmds/generate/ignore.js | 6 +-- cmds/generate/license.js | 6 +-- cmds/generate/pkg-file.js | 6 +-- cmds/generate/recipe.js | 6 +-- cmds/generate/workflow.js | 6 +-- cmds/generate/workflow/circle-ci.js | 6 +-- cmds/generate/workflow/github.js | 6 +-- cmds/generate/workflow/gitlab.js | 6 +-- cmds/generate/workflow/travis-ci.js | 6 +-- cmds/link/add.js | 6 +-- cmds/link/delete.js | 6 +-- cmds/link/list.js | 6 +-- cmds/lint/checkdoc.js | 6 +-- cmds/lint/declare.js | 6 +-- cmds/lint/elint.js | 6 +-- cmds/lint/elisp-lint.js | 6 +-- cmds/lint/elsa.js | 6 +-- cmds/lint/indent.js | 6 +-- cmds/lint/keywords.js | 6 +-- cmds/lint/license.js | 6 +-- cmds/lint/package.js | 6 +-- cmds/lint/regexps.js | 6 +-- cmds/run/command.js | 6 +-- cmds/run/script.js | 6 +-- cmds/test/activate.js | 6 +-- cmds/test/buttercup.js | 6 +-- cmds/test/ert-runner.js | 6 +-- cmds/test/ert.js | 6 +-- cmds/test/melpazoid.js | 31 ++++++++++++ cmds/util/locate.js | 6 +-- cmds/util/upgrade-eask.js | 6 +-- docs/content/en/Development-API/_index.md | 12 ++++- .../Getting-Started/Commands-and-options.md | 23 +++++++++ docs/content/zh-TW/Development-API/_index.md | 12 ++++- .../Getting-Started/Commands-and-options.md | 23 +++++++++ lisp/_prepare.el | 19 ++++++- lisp/help/lint/checkdoc | 12 ++--- lisp/help/lint/declare | 12 ++--- lisp/help/test/ert | 8 +-- lisp/help/test/melpazoid | 4 ++ lisp/test/ert.el | 2 +- lisp/test/melpazoid.el | 50 +++++++++++++++++++ src/env.js | 6 +-- src/util.js | 6 +-- test/checker/dsl/run.sh | 6 +-- test/checker/metadata/run.sh | 6 +-- test/color/run.sh | 6 +-- test/commands/config/run.sh | 4 +- test/commands/docker/run.sh | 4 +- test/commands/emacs/run.sh | 4 +- test/commands/exec/run.sh | 4 +- test/commands/global/run.sh | 4 +- test/commands/install/run.sh | 4 +- test/commands/link/run.sh | 4 +- test/commands/local/run.sh | 4 +- test/commands/outdated_upgrade/run.sh | 4 +- test/commands/search/run.sh | 4 +- test/commands/test/buttercup/run.sh | 4 +- test/commands/test/ert-runner/run.sh | 4 +- test/commands/test/ert/run.sh | 4 +- test/error/run.sh | 6 +-- test/options/run.sh | 6 +-- webinstall/install.bat | 4 +- webinstall/install.sh | 4 +- 111 files changed, 370 insertions(+), 397 deletions(-) create mode 100644 cmds/test/melpazoid.js create mode 100644 lisp/help/test/melpazoid create mode 100644 lisp/test/melpazoid.el diff --git a/CHANGELOG.md b/CHANGELOG.md index 10d589df..6100c6ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how * Add option to init from `Eldev`-file (#193) * Add command `commnad` for custom commands (#195) * Merge the two commands `run` and `command` (#196) +* Add `melpazoid` command (#202) ## 0.8.x > Released Mar 08, 2023 diff --git a/cmds/checker/check-eask.js b/cmds/checker/check-eask.js index 0e7bfac7..dda9e924 100644 --- a/cmds/checker/check-eask.js +++ b/cmds/checker/check-eask.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/clean/all.js b/cmds/clean/all.js index f644fc8c..152bbd31 100644 --- a/cmds/clean/all.js +++ b/cmds/clean/all.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/clean/autoloads.js b/cmds/clean/autoloads.js index e7c23024..c35e519a 100644 --- a/cmds/clean/autoloads.js +++ b/cmds/clean/autoloads.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/clean/dist.js b/cmds/clean/dist.js index 4f6c4de9..6e925e68 100644 --- a/cmds/clean/dist.js +++ b/cmds/clean/dist.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/clean/elc.js b/cmds/clean/elc.js index 0b0c768b..019042ad 100644 --- a/cmds/clean/elc.js +++ b/cmds/clean/elc.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/clean/log-file.js b/cmds/clean/log-file.js index 552d7193..078b7f0b 100644 --- a/cmds/clean/log-file.js +++ b/cmds/clean/log-file.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/clean/pkg-file.js b/cmds/clean/pkg-file.js index 88ecf930..2c9d55fb 100644 --- a/cmds/clean/pkg-file.js +++ b/cmds/clean/pkg-file.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/clean/workspace.js b/cmds/clean/workspace.js index 9a2c2160..a13e8a92 100644 --- a/cmds/clean/workspace.js +++ b/cmds/clean/workspace.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/archives.js b/cmds/core/archives.js index 98bdb786..012053a0 100644 --- a/cmds/core/archives.js +++ b/cmds/core/archives.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/cat.js b/cmds/core/cat.js index 303e35df..358e6448 100644 --- a/cmds/core/cat.js +++ b/cmds/core/cat.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/clean.js b/cmds/core/clean.js index 098b8576..ddcfaeee 100644 --- a/cmds/core/clean.js +++ b/cmds/core/clean.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/compile.js b/cmds/core/compile.js index c2af885e..bcaed4ed 100644 --- a/cmds/core/compile.js +++ b/cmds/core/compile.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/concat.js b/cmds/core/concat.js index 004b232a..1bdbf84b 100644 --- a/cmds/core/concat.js +++ b/cmds/core/concat.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/create.js b/cmds/core/create.js index 353f693e..f8d3db8d 100644 --- a/cmds/core/create.js +++ b/cmds/core/create.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/docker.js b/cmds/core/docker.js index 19be2602..1b428946 100644 --- a/cmds/core/docker.js +++ b/cmds/core/docker.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/emacs.js b/cmds/core/emacs.js index d6b6d8f3..70fdc558 100644 --- a/cmds/core/emacs.js +++ b/cmds/core/emacs.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/eval.js b/cmds/core/eval.js index 7fed36af..42bf6ed6 100644 --- a/cmds/core/eval.js +++ b/cmds/core/eval.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/exec-path.js b/cmds/core/exec-path.js index 993577f2..a24784d5 100644 --- a/cmds/core/exec-path.js +++ b/cmds/core/exec-path.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/exec.js b/cmds/core/exec.js index 96eb116a..6a09162d 100644 --- a/cmds/core/exec.js +++ b/cmds/core/exec.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/files.js b/cmds/core/files.js index 251881dd..bc18e9f0 100644 --- a/cmds/core/files.js +++ b/cmds/core/files.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/generate.js b/cmds/core/generate.js index f784cce9..805beb75 100644 --- a/cmds/core/generate.js +++ b/cmds/core/generate.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/info.js b/cmds/core/info.js index cb8d217b..65df0660 100644 --- a/cmds/core/info.js +++ b/cmds/core/info.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/init.js b/cmds/core/init.js index d0124c5a..a5ba27fb 100644 --- a/cmds/core/init.js +++ b/cmds/core/init.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/install-deps.js b/cmds/core/install-deps.js index 3b240114..9c7dfc36 100644 --- a/cmds/core/install-deps.js +++ b/cmds/core/install-deps.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/install.js b/cmds/core/install.js index 1cbacbb5..697897aa 100644 --- a/cmds/core/install.js +++ b/cmds/core/install.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/keywords.js b/cmds/core/keywords.js index 61bd4fc6..3a6f8075 100644 --- a/cmds/core/keywords.js +++ b/cmds/core/keywords.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/link.js b/cmds/core/link.js index c04b9cd1..db18cc40 100644 --- a/cmds/core/link.js +++ b/cmds/core/link.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/lint.js b/cmds/core/lint.js index 513a1918..ef3e7ff5 100644 --- a/cmds/core/lint.js +++ b/cmds/core/lint.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/list.js b/cmds/core/list.js index 4d051f1e..38dac226 100644 --- a/cmds/core/list.js +++ b/cmds/core/list.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/load-path.js b/cmds/core/load-path.js index bc17b72c..09a22395 100644 --- a/cmds/core/load-path.js +++ b/cmds/core/load-path.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/load.js b/cmds/core/load.js index ea414e0e..4d9d26d5 100644 --- a/cmds/core/load.js +++ b/cmds/core/load.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/outdated.js b/cmds/core/outdated.js index ba07a31a..d0851300 100644 --- a/cmds/core/outdated.js +++ b/cmds/core/outdated.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/package-directory.js b/cmds/core/package-directory.js index ce6d79ae..1fb810a3 100644 --- a/cmds/core/package-directory.js +++ b/cmds/core/package-directory.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/package.js b/cmds/core/package.js index c1e7e8a3..db3b1836 100644 --- a/cmds/core/package.js +++ b/cmds/core/package.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/recipe.js b/cmds/core/recipe.js index d059ef34..dff074a1 100644 --- a/cmds/core/recipe.js +++ b/cmds/core/recipe.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/refresh.js b/cmds/core/refresh.js index b189f109..451836dc 100644 --- a/cmds/core/refresh.js +++ b/cmds/core/refresh.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/reinstall.js b/cmds/core/reinstall.js index d9b69dac..dddc412f 100644 --- a/cmds/core/reinstall.js +++ b/cmds/core/reinstall.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/run.js b/cmds/core/run.js index 450a03f0..8da5bb2d 100644 --- a/cmds/core/run.js +++ b/cmds/core/run.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/search.js b/cmds/core/search.js index afef0009..8f631ad2 100644 --- a/cmds/core/search.js +++ b/cmds/core/search.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/status.js b/cmds/core/status.js index 6e669327..3c3cab68 100644 --- a/cmds/core/status.js +++ b/cmds/core/status.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/test.js b/cmds/core/test.js index ef50e408..26f33d58 100644 --- a/cmds/core/test.js +++ b/cmds/core/test.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/uninstall.js b/cmds/core/uninstall.js index a552306b..8a8ec150 100644 --- a/cmds/core/uninstall.js +++ b/cmds/core/uninstall.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/core/upgrade.js b/cmds/core/upgrade.js index 5f7ddc58..a39b7872 100644 --- a/cmds/core/upgrade.js +++ b/cmds/core/upgrade.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/create/elpa.js b/cmds/create/elpa.js index ffaa588f..6103e4c7 100644 --- a/cmds/create/elpa.js +++ b/cmds/create/elpa.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/create/package.js b/cmds/create/package.js index b94d81c5..4301abc0 100644 --- a/cmds/create/package.js +++ b/cmds/create/package.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/generate/autoloads.js b/cmds/generate/autoloads.js index d13b7ac6..1eca263e 100644 --- a/cmds/generate/autoloads.js +++ b/cmds/generate/autoloads.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/generate/ignore.js b/cmds/generate/ignore.js index e0bcac43..1f86c2a9 100644 --- a/cmds/generate/ignore.js +++ b/cmds/generate/ignore.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/generate/license.js b/cmds/generate/license.js index 0af80185..a031b60f 100644 --- a/cmds/generate/license.js +++ b/cmds/generate/license.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/generate/pkg-file.js b/cmds/generate/pkg-file.js index 7069a655..f6116dfa 100644 --- a/cmds/generate/pkg-file.js +++ b/cmds/generate/pkg-file.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/generate/recipe.js b/cmds/generate/recipe.js index 88442cd8..ce7a5bf0 100644 --- a/cmds/generate/recipe.js +++ b/cmds/generate/recipe.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/generate/workflow.js b/cmds/generate/workflow.js index bc541dd8..8d18c8fb 100644 --- a/cmds/generate/workflow.js +++ b/cmds/generate/workflow.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/generate/workflow/circle-ci.js b/cmds/generate/workflow/circle-ci.js index 8a545f1e..b5b75db2 100644 --- a/cmds/generate/workflow/circle-ci.js +++ b/cmds/generate/workflow/circle-ci.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/generate/workflow/github.js b/cmds/generate/workflow/github.js index 1429965c..b851e456 100644 --- a/cmds/generate/workflow/github.js +++ b/cmds/generate/workflow/github.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/generate/workflow/gitlab.js b/cmds/generate/workflow/gitlab.js index 2b068533..d7acfcbd 100644 --- a/cmds/generate/workflow/gitlab.js +++ b/cmds/generate/workflow/gitlab.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/generate/workflow/travis-ci.js b/cmds/generate/workflow/travis-ci.js index a3cb5734..e08a4177 100644 --- a/cmds/generate/workflow/travis-ci.js +++ b/cmds/generate/workflow/travis-ci.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/link/add.js b/cmds/link/add.js index 3c1db4d2..fb12d5d3 100644 --- a/cmds/link/add.js +++ b/cmds/link/add.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/link/delete.js b/cmds/link/delete.js index 1229c43f..0bd5d171 100644 --- a/cmds/link/delete.js +++ b/cmds/link/delete.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/link/list.js b/cmds/link/list.js index fca845d8..4975bdd3 100644 --- a/cmds/link/list.js +++ b/cmds/link/list.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/lint/checkdoc.js b/cmds/lint/checkdoc.js index 4da704f8..aa263cbe 100644 --- a/cmds/lint/checkdoc.js +++ b/cmds/lint/checkdoc.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/lint/declare.js b/cmds/lint/declare.js index 2916757c..16674826 100644 --- a/cmds/lint/declare.js +++ b/cmds/lint/declare.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/lint/elint.js b/cmds/lint/elint.js index da9183bf..70864070 100644 --- a/cmds/lint/elint.js +++ b/cmds/lint/elint.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/lint/elisp-lint.js b/cmds/lint/elisp-lint.js index d670301b..1853ccba 100644 --- a/cmds/lint/elisp-lint.js +++ b/cmds/lint/elisp-lint.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/lint/elsa.js b/cmds/lint/elsa.js index 3c6fc1ad..91d81008 100644 --- a/cmds/lint/elsa.js +++ b/cmds/lint/elsa.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/lint/indent.js b/cmds/lint/indent.js index cdd04f60..71cce4b2 100644 --- a/cmds/lint/indent.js +++ b/cmds/lint/indent.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/lint/keywords.js b/cmds/lint/keywords.js index 862f136f..cae1aafc 100644 --- a/cmds/lint/keywords.js +++ b/cmds/lint/keywords.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/lint/license.js b/cmds/lint/license.js index a4f96f62..20e73db4 100644 --- a/cmds/lint/license.js +++ b/cmds/lint/license.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/lint/package.js b/cmds/lint/package.js index ff52aa6c..12ccfe4d 100644 --- a/cmds/lint/package.js +++ b/cmds/lint/package.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/lint/regexps.js b/cmds/lint/regexps.js index 444c7dce..ebfa330c 100644 --- a/cmds/lint/regexps.js +++ b/cmds/lint/regexps.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/run/command.js b/cmds/run/command.js index 4b9da84f..af10262e 100644 --- a/cmds/run/command.js +++ b/cmds/run/command.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 Jen-Chieh Shen + * Copyright (C) 2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/run/script.js b/cmds/run/script.js index 4b3e40d5..2c9810bb 100644 --- a/cmds/run/script.js +++ b/cmds/run/script.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/test/activate.js b/cmds/test/activate.js index d80dbb54..c4077d71 100644 --- a/cmds/test/activate.js +++ b/cmds/test/activate.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/test/buttercup.js b/cmds/test/buttercup.js index 73e8902e..c9a85224 100644 --- a/cmds/test/buttercup.js +++ b/cmds/test/buttercup.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/test/ert-runner.js b/cmds/test/ert-runner.js index 11f6fc95..418b1e37 100644 --- a/cmds/test/ert-runner.js +++ b/cmds/test/ert-runner.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/test/ert.js b/cmds/test/ert.js index b78a8aec..ee7f7809 100644 --- a/cmds/test/ert.js +++ b/cmds/test/ert.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/test/melpazoid.js b/cmds/test/melpazoid.js new file mode 100644 index 00000000..db295ee1 --- /dev/null +++ b/cmds/test/melpazoid.js @@ -0,0 +1,31 @@ +/** + * Copyright (C) 2023 the Eask authors. + * + * 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 this program. If not, see . + */ + +"use strict"; + +exports.command = ['melpazoid [directories..]']; +exports.desc = 'Run melpazoid tests'; +exports.builder = yargs => yargs + .positional( + '[directories..]', { + description: 'specify directories to do melpazoid tests', + type: 'array', + }); + +exports.handler = async (argv) => { + await UTIL.e_call(argv, 'test/melpazoid', argv.directories); +}; diff --git a/cmds/util/locate.js b/cmds/util/locate.js index 8d8bf03e..1814d37d 100644 --- a/cmds/util/locate.js +++ b/cmds/util/locate.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/cmds/util/upgrade-eask.js b/cmds/util/upgrade-eask.js index 6e517f39..9a12ca20 100644 --- a/cmds/util/upgrade-eask.js +++ b/cmds/util/upgrade-eask.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/docs/content/en/Development-API/_index.md b/docs/content/en/Development-API/_index.md index f3206562..1acd6b1c 100644 --- a/docs/content/en/Development-API/_index.md +++ b/docs/content/en/Development-API/_index.md @@ -99,9 +99,19 @@ Call another eask script. ``` {{< hint info >}} -💡 This is rarely used! +💡 We don't often call this since we don't wish to execute another command directly! {{< /hint >}} +## 🔍 Function: eask-import (`url`) + +Load and evaluate the script from a url. + +```elisp +(eask-import "https://raw.githubusercontent.com/emacsmirror/emacswiki.org/master/yes-no.el") + +;; The script will be available after the call! +``` + ## 🔍 Macro: eask-defvc< (`version` &rest `body`) Define scope if Emacs version is below specific version. diff --git a/docs/content/en/Getting-Started/Commands-and-options.md b/docs/content/en/Getting-Started/Commands-and-options.md index 31409206..9927d142 100644 --- a/docs/content/en/Getting-Started/Commands-and-options.md +++ b/docs/content/en/Getting-Started/Commands-and-options.md @@ -735,22 +735,40 @@ $ eask [GLOBAL-OPTIONS] activate [FILES..] ## 🔍 eask test ert +Run [ert][] tests. + ```sh $ eask [GLOBAL-OPTIONS] test ert [FILES..] ``` ## 🔍 eask test ert-runner +Run [ert][] test using [ert-runner][]. + ```sh $ eask [GLOBAL-OPTIONS] test ert-runner ``` ## 🔍 eask test buttercup +Run [buttercup][] tests. + ```sh $ eask [GLOBAL-OPTIONS] test buttercup ``` +## 🔍 eask test melpazoid + +Run [melpazoid][] tests. + +```sh +$ eask [GLOBAL-OPTIONS] test melpazoid [DIRECTORIES..] +``` + +{{< hint info >}} +💡 If **[DIRECTORIES..]** is not passed in; it will use the current workspace instead. +{{< /hint >}} + # 🚩 Utilities Other helper commands. @@ -947,3 +965,8 @@ Do not use a proxy for any URL matching pattern. [Cask]: https://github.com/cask/cask [Eldev]: https://emacs-eldev.github.io/eldev/ [Keg]: https://github.com/conao3/keg.el + +[ert]: https://www.gnu.org/software/emacs/manual/html_node/ert/ +[ert-runner]: https://github.com/rejeep/ert-runner.el +[buttercup]: https://github.com/jorgenschaefer/emacs-buttercup +[melpazoid]: https://github.com/riscy/melpazoid diff --git a/docs/content/zh-TW/Development-API/_index.md b/docs/content/zh-TW/Development-API/_index.md index baca4cab..e9d734d0 100644 --- a/docs/content/zh-TW/Development-API/_index.md +++ b/docs/content/zh-TW/Development-API/_index.md @@ -96,9 +96,19 @@ $ eask init ``` {{< hint info >}} -💡 這個很少用! +💡 我們不經常呼叫它,因為我們不希望直接執行另一個命令! {{< /hint >}} +## 🔍 Function: eask-import (`url`) + +從 url 載入並評估腳本。 + +```elisp +(eask-import "https://raw.githubusercontent.com/emacsmirror/emacswiki.org/master/yes-no.el") + +;; 該腳本將在導入後即可使用! +``` + ## 🔍 巨集: eask-defvc< (`version` &rest `body`) 如果 Emacs 版本低於特定版本,則定義範圍。 diff --git a/docs/content/zh-TW/Getting-Started/Commands-and-options.md b/docs/content/zh-TW/Getting-Started/Commands-and-options.md index d7da1f79..766efbbb 100644 --- a/docs/content/zh-TW/Getting-Started/Commands-and-options.md +++ b/docs/content/zh-TW/Getting-Started/Commands-and-options.md @@ -723,22 +723,40 @@ $ eask [GLOBAL-OPTIONS] activate [FILES..] ## 🔍 eask test ert +運行 [ert][] 測試。 + ```sh $ eask [GLOBAL-OPTIONS] test ert [FILES..] ``` ## 🔍 eask test ert-runner +使用 [ert-runner][] 運行 [ert][] 測試。 + ```sh $ eask [GLOBAL-OPTIONS] test ert-runner ``` ## 🔍 eask test buttercup +運行 [buttercup][] 測試。 + ```sh $ eask [GLOBAL-OPTIONS] test buttercup ``` +## 🔍 eask test melpazoid + +運行 [melpazoid][] 測試。 + +```sh +$ eask [GLOBAL-OPTIONS] test melpazoid [DIRECTORIES..] +``` + +{{< hint info >}} +💡 如果未傳入 **[DIRECTORIES..]**,它將使用目前工作空間。 +{{< /hint >}} + # 🚩 實用工具 其他輔助命令。 @@ -934,3 +952,8 @@ $ eask --proxy "localhost:8888" [COMMAND] [Cask]: https://github.com/cask/cask [Eldev]: https://emacs-eldev.github.io/eldev/ [Keg]: https://github.com/conao3/keg.el + +[ert]: https://www.gnu.org/software/emacs/manual/html_node/ert/ +[ert-runner]: https://github.com/rejeep/ert-runner.el +[buttercup]: https://github.com/jorgenschaefer/emacs-buttercup +[melpazoid]: https://github.com/riscy/melpazoid diff --git a/lisp/_prepare.el b/lisp/_prepare.el index b30d51b5..42a4cd65 100644 --- a/lisp/_prepare.el +++ b/lisp/_prepare.el @@ -87,6 +87,13 @@ Arguments FNC and ARGS are used for advice `:around'." (defconst eask-is-pkg (getenv "EASK_IS_PKG") "Eask is pkg.") +(defcustom eask-import-timeout 10 + "Number of seconds before timing out elisp importation attempts. +If nil, never time out." + :type '(choice (number :tag "Number of seconds") + (const :tag "Never time out" nil)) + :group 'eask) + ;; ;;; Execution @@ -133,7 +140,8 @@ will return `lint/checkdoc' with a dash between two subcommands." (member (eask-command) '("init/cask" "init/eldev" "init/keg" "init/source" "cat" "keywords" - "generate/ignore" "generate/license"))) + "generate/ignore" "generate/license" + "test/melpazoid"))) (defun eask-checker-p () "Return t if running Eask as the checker." @@ -158,6 +166,15 @@ the `eask-start' execution.") (load script-file nil t) (eask-error "Script missing %s" script-file))) +(defun eask-import (url) + "Load and eval the script from a URL." + (with-current-buffer (url-retrieve-synchronously url t nil eask-import-timeout) + (goto-char (point-min)) + (re-search-forward "^$" nil 'move) + (forward-char) + (delete-region (point-min) (point)) + (eval-buffer))) + ;; ;;; Util diff --git a/lisp/help/lint/checkdoc b/lisp/help/lint/checkdoc index 0628c86c..f3dc5d37 100644 --- a/lisp/help/lint/checkdoc +++ b/lisp/help/lint/checkdoc @@ -1,17 +1,17 @@ - + 💡 You need to specify file(s) you want the checkdoc to run - - $ eask checkdoc FILE-1 FILE-2 - + + $ eask lint checkdoc FILE-1 FILE-2 + 💡 Or edit Eask file with [package-file] or [files] specifier [+] (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/declare b/lisp/help/lint/declare index d05c5497..3f8aa2ee 100644 --- a/lisp/help/lint/declare +++ b/lisp/help/lint/declare @@ -1,17 +1,17 @@ - + 💡 You need to specify file(s) you want the check-declare to run - - $ eask declare FILE-1 FILE-2 - + + $ eask lint declare FILE-1 FILE-2 + 💡 Or edit Eask file with [package-file] or [files] specifier [+] (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/test/ert b/lisp/help/test/ert index 490cd8cf..44a7e18e 100644 --- a/lisp/help/test/ert +++ b/lisp/help/test/ert @@ -1,4 +1,4 @@ - -💡 You need to specify file(s) you want the ert to run - - $ eask ert FILE-1 FILE-2 + +💡 You need to specify the file(s) you want the ert to run: + + $ eask test ert FILE-1 FILE-2 diff --git a/lisp/help/test/melpazoid b/lisp/help/test/melpazoid new file mode 100644 index 00000000..f243dd34 --- /dev/null +++ b/lisp/help/test/melpazoid @@ -0,0 +1,4 @@ + +💡 You need to specify the directory(ies) you want the melpazoid to run: + + $ eask test melpazoid DIR-1 DIR2 diff --git a/lisp/test/ert.el b/lisp/test/ert.el index 4e4a4b2b..b68a0846 100644 --- a/lisp/test/ert.el +++ b/lisp/test/ert.el @@ -2,7 +2,7 @@ ;;; Commentary: ;; -;; Command to run ert tests using ert-runner, +;; Command to run ert tests, ;; ;; $ eask ert [files..] ;; diff --git a/lisp/test/melpazoid.el b/lisp/test/melpazoid.el new file mode 100644 index 00000000..3c8df4f9 --- /dev/null +++ b/lisp/test/melpazoid.el @@ -0,0 +1,50 @@ +;;; test/melpazoid.el --- Run melpazoid tests -*- lexical-binding: t; -*- + +;;; Commentary: +;; +;; Command to run melpazoid tests, +;; +;; $ eask melpazoid +;; + +;;; Code: + +(let ((dir (file-name-directory (nth 1 (member "-scriptload" command-line-args))))) + (load (expand-file-name "_prepare.el" + (locate-dominating-file dir "_prepare.el")) + nil t)) + +;; +;;; Flags + +(advice-add #'eask-allow-error-p :override #'always) + +;; +;;; Core + +(defcustom eask-melpazoid-el-url + "https://raw.githubusercontent.com/riscy/melpazoid/master/melpazoid/melpazoid.el" + "Url path to melpazoid's elisp file." + :type 'string + :group 'eask) + +(eask-start + ;; Preparation + (eask-with-archives "melpa" + (eask-package-install 'package-lint) + (eask-package-install 'pkg-info)) + ;; Start test + (let* ((dirs (or (eask-args) `(,default-directory)))) + (cond + ;; Files found, do the action! + (dirs + (dolist (dir dirs) + (let ((default-directory (expand-file-name dir))) + (eask-info "[+] %s" default-directory) + (eask-import eask-melpazoid-el-url)))) + ;; Default, print help! + (t + (eask-info "(No tests found.)") + (eask-help "test/melpazoid"))))) + +;;; test/melpazoid.el ends here diff --git a/src/env.js b/src/env.js index f64848e0..f253750b 100644 --- a/src/env.js +++ b/src/env.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/src/util.js b/src/util.js index 654537d9..280b8ada 100644 --- a/src/util.js +++ b/src/util.js @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022-2023 Jen-Chieh Shen + * Copyright (C) 2022-2023 the Eask authors. * * 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 @@ -12,9 +12,7 @@ * 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. + * along with this program. If not, see . */ "use strict"; diff --git a/test/checker/dsl/run.sh b/test/checker/dsl/run.sh index e48bdd53..b574bb88 100644 --- a/test/checker/dsl/run.sh +++ b/test/checker/dsl/run.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (C) 2022 Jen-Chieh Shen +# Copyright (C) 2022-2023 the Eask authors. # 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 @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: # diff --git a/test/checker/metadata/run.sh b/test/checker/metadata/run.sh index e48bdd53..b574bb88 100644 --- a/test/checker/metadata/run.sh +++ b/test/checker/metadata/run.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (C) 2022 Jen-Chieh Shen +# Copyright (C) 2022-2023 the Eask authors. # 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 @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: # diff --git a/test/color/run.sh b/test/color/run.sh index 5d0406ce..df63f934 100644 --- a/test/color/run.sh +++ b/test/color/run.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (C) 2022 Jen-Chieh Shen +# Copyright (C) 2022-2023 the Eask authors. # 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 @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: # diff --git a/test/commands/config/run.sh b/test/commands/config/run.sh index bd599f1b..6a7063cd 100644 --- a/test/commands/config/run.sh +++ b/test/commands/config/run.sh @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: # diff --git a/test/commands/docker/run.sh b/test/commands/docker/run.sh index dc9115e3..93f7642c 100644 --- a/test/commands/docker/run.sh +++ b/test/commands/docker/run.sh @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: # diff --git a/test/commands/emacs/run.sh b/test/commands/emacs/run.sh index c63ede0f..855a9ef8 100644 --- a/test/commands/emacs/run.sh +++ b/test/commands/emacs/run.sh @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: # diff --git a/test/commands/exec/run.sh b/test/commands/exec/run.sh index 6f5d422f..6cfd56a5 100644 --- a/test/commands/exec/run.sh +++ b/test/commands/exec/run.sh @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: # diff --git a/test/commands/global/run.sh b/test/commands/global/run.sh index c801dd72..e0df5f44 100644 --- a/test/commands/global/run.sh +++ b/test/commands/global/run.sh @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: # diff --git a/test/commands/install/run.sh b/test/commands/install/run.sh index 3a7f0e44..bf86f1da 100644 --- a/test/commands/install/run.sh +++ b/test/commands/install/run.sh @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: # diff --git a/test/commands/link/run.sh b/test/commands/link/run.sh index 99b76e0d..c55866d5 100644 --- a/test/commands/link/run.sh +++ b/test/commands/link/run.sh @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: # diff --git a/test/commands/local/run.sh b/test/commands/local/run.sh index 585f3ba0..9fdf3226 100644 --- a/test/commands/local/run.sh +++ b/test/commands/local/run.sh @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: # diff --git a/test/commands/outdated_upgrade/run.sh b/test/commands/outdated_upgrade/run.sh index 7d8826b2..b9b8b919 100644 --- a/test/commands/outdated_upgrade/run.sh +++ b/test/commands/outdated_upgrade/run.sh @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: # diff --git a/test/commands/search/run.sh b/test/commands/search/run.sh index 7915b926..65a51714 100644 --- a/test/commands/search/run.sh +++ b/test/commands/search/run.sh @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: # diff --git a/test/commands/test/buttercup/run.sh b/test/commands/test/buttercup/run.sh index 8bbce869..abe96acc 100644 --- a/test/commands/test/buttercup/run.sh +++ b/test/commands/test/buttercup/run.sh @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: # diff --git a/test/commands/test/ert-runner/run.sh b/test/commands/test/ert-runner/run.sh index 90203405..cb60ff5a 100644 --- a/test/commands/test/ert-runner/run.sh +++ b/test/commands/test/ert-runner/run.sh @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: # diff --git a/test/commands/test/ert/run.sh b/test/commands/test/ert/run.sh index 9308d084..1660683f 100644 --- a/test/commands/test/ert/run.sh +++ b/test/commands/test/ert/run.sh @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: # diff --git a/test/error/run.sh b/test/error/run.sh index edc5efb2..6a2a2eb3 100644 --- a/test/error/run.sh +++ b/test/error/run.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (C) 2022 Jen-Chieh Shen +# Copyright (C) 2022-2023 the Eask authors. # 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 @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: # diff --git a/test/options/run.sh b/test/options/run.sh index 75997e49..6ef276f7 100644 --- a/test/options/run.sh +++ b/test/options/run.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (C) 2022 Jen-Chieh Shen +# Copyright (C) 2022-2023 the Eask authors. # 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 @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: # diff --git a/webinstall/install.bat b/webinstall/install.bat index 0420533a..ecaa4749 100644 --- a/webinstall/install.bat +++ b/webinstall/install.bat @@ -13,9 +13,7 @@ :: 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. +:: along with this program. If not, see . ::: Commentary: :: diff --git a/webinstall/install.sh b/webinstall/install.sh index 45836581..b6749c15 100644 --- a/webinstall/install.sh +++ b/webinstall/install.sh @@ -13,9 +13,7 @@ # 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. +# along with this program. If not, see . ## Commentary: #