Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Simplify naming for fixtures mini.emacs packages #282

Merged
merged 3 commits into from
Nov 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/commands/config/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# Here we test all config (~/.emacs.d/) that the Emacser can be use daily!
#
# Notice, to make config commands work; we need a minimum configuration
# (mini.emacs.d), and place it under to the default Emacs directory!
# (home/.emacs.d), and place it under to the default Emacs directory!
#

set -e
Expand Down
2 changes: 1 addition & 1 deletion test/commands/docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
set -e

# Naviate to the test package
cd "./test/fixtures/mini.emacs.pkg.1/"
cd "./test/fixtures/mini.pkg.1/"

eask docker 27.1 info
2 changes: 1 addition & 1 deletion test/commands/global/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# Here we test all global (~/.eask/) that the Emacser can be use daily!
#
# Notice, to make config commands work; we need a minimum configuration
# (mini.emacs.d), and place it under to the default Emacs directory!
# (home/.emacs.d), and place it under to the default Emacs directory!
#

set -e
Expand Down
2 changes: 1 addition & 1 deletion test/commands/install/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ set -e
echo "Test commands related to install, and uninstall"

# Naviate to the test package
cd "./test/fixtures/mini.emacs.pkg.1/"
cd "./test/fixtures/mini.pkg.1/"

echo "Install dependencies"
eask install-deps
Expand Down
4 changes: 2 additions & 2 deletions test/commands/link/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@

set -e

eask link add "mini.emacs.pkg.1" "./test/fixtures/mini.emacs.pkg.1/"
eask link add "mini.pkg.1" "./test/fixtures/mini.pkg.1/"
eask link list
eask link delete mini.emacs.pkg.1-0.0.1
eask link delete mini.pkg.1-0.0.1
4 changes: 2 additions & 2 deletions test/commands/local/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
set -e

# Naviate to the test package
cd "./test/fixtures/mini.emacs.pkg.1/"
cd "./test/fixtures/mini.pkg.1/"

echo "Testing local commands..."
eask info
Expand Down Expand Up @@ -73,7 +73,7 @@ eask run command mini-test-3 -- Extra arguments!
eask run command --all

# Exection
eask eval "(progn (require 'mini.emacs.pkg.1))"
eask eval "(progn (require 'mini.pkg.1))"

# Generating
eask generate autoloads
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/home/.emacs.d/Eask
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(package "mini.emacs.d"
(package ".emacs.d"
"0.0.1"
"Minimal test configuration")

(website-url "https://github.com/emacs-eask/mini.emacs.d")
(website-url "https://github.com/emacs-eask/cli/tree/master/test/fixtures/home/.emacs.d")
(keywords "test")

(depends-on "emacs" "26.1")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
(package "mini.emacs.pkg.1"
(package "mini.pkg.1"
"0.0.1"
"Minimal test package")

(website-url "https://github.com/emacs-eask/mini.emacs.pkg.1")
(website-url "https://github.com/emacs-eask/cli/tree/master/test/fixtures/mini.pkg.1")
(keywords "test")

(package-file "mini.emacs.pkg.1.el")
(package-file "mini.pkg.1.el")

(files "files/*.el")

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; mini.emacs.pkg.2-1.el --- Extern file 1 -*- lexical-binding: t; -*-
;;; mini.pkg.1-1.el --- Extern file 1 -*- lexical-binding: t; -*-

;; This file is NOT part of GNU Emacs.

Expand All @@ -17,16 +17,16 @@

;;; Commentary:
;;
;; files/mini.emacs.pkg.2-1.el
;; files/mini.pkg.1-1.el
;;

;;; Code:


(defun mini.emacs.pkg.2-1 ()
(defun mini.pkg.1-1 ()
"Test function 1."
(interactive)
)

(provide 'mini.emacs.pkg.2-1)
;;; mini.emacs.pkg.2-1.el ends here
(provide 'mini.pkg.1-1)
;;; mini.pkg.1-1.el ends here
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; mini.emacs.pkg.1-2.el --- Extern file 2 -*- lexical-binding: t; -*-
;;; mini.pkg.1-2.el --- Extern file 2 -*- lexical-binding: t; -*-

;; This file is NOT part of GNU Emacs.

Expand All @@ -17,15 +17,15 @@

;;; Commentary:
;;
;; files/mini.emacs.pkg.1-2.el
;; files/mini.pkg.1-2.el
;;

;;; Code:

(defun mini.emacs.pkg.1-2 ()
(defun mini.pkg.1-2 ()
"Test function 2."
(interactive)
)

(provide 'mini.emacs.pkg.1-2)
;;; mini.emacs.pkg.1-2.el ends here
(provide 'mini.pkg.1-2)
;;; mini.pkg.1-2.el ends here
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
;;; mini.emacs.pkg.2.el --- Minimal test package -*- lexical-binding: t; -*-
;;; mini.pkg.1.el --- Minimal test package -*- lexical-binding: t; -*-

;; Copyright (C) 2022-2024 the Eask authors.
;; Created date 2022-03-29 01:52:58

;; Author: Shen, Jen-Chieh <[email protected]>
;; URL: https://github.com/emacs-eask/mini.emacs.pkg.2
;; URL: https://github.com/emacs-eask/cli/tree/master/test/fixtures/mini.pkg.1
;; Version: 0.0.1
;; Package-Requires: ((emacs "24.3") (s "1.12.0") (fringe-helper "1.0.1"))
;; Keywords: test
Expand Down Expand Up @@ -35,5 +35,5 @@
(require 's)
(require 'fringe-helper)

(provide 'mini.emacs.pkg.2)
;;; mini.emacs.pkg.2.el ends here
(provide 'mini.pkg.1)
;;; mini.pkg.1.el ends here
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
(package "mini.emacs.pkg.2"
(package "mini.pkg.2"
"0.0.1"
"Minimal test package")

(website-url "https://github.com/emacs-eask/mini.emacs.pkg.2")
(website-url "https://github.com/emacs-eask/cli/tree/master/test/fixtures/mini.pkg.2")
(keywords "test")

(package-file "mini.emacs.pkg.2.el")
(package-file "mini.pkg.2.el")

(files "files/*.el")

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; mini.emacs.pkg.1-1.el --- Extern file 1 -*- lexical-binding: t; -*-
;;; mini.pkg.2-1.el --- Extern file 1 -*- lexical-binding: t; -*-

;; This file is NOT part of GNU Emacs.

Expand All @@ -17,16 +17,16 @@

;;; Commentary:
;;
;; files/mini.emacs.pkg.1-1.el
;; files/mini.pkg.2-1.el
;;

;;; Code:


(defun mini.emacs.pkg.1-1 ()
(defun mini.pkg.2-1 ()
"Test function 1."
(interactive)
)

(provide 'mini.emacs.pkg.1-1)
;;; mini.emacs.pkg.1-1.el ends here
(provide 'mini.pkg.2-1)
;;; mini.pkg.2-1.el ends here
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; mini.emacs.pkg.2-2.el --- Extern file 2 -*- lexical-binding: t; -*-
;;; mini.pkg.2-2.el --- Extern file 2 -*- lexical-binding: t; -*-

;; This file is NOT part of GNU Emacs.

Expand All @@ -17,15 +17,15 @@

;;; Commentary:
;;
;; files/mini.emacs.pkg.2-2.el
;; files/mini.pkg.2-2.el
;;

;;; Code:

(defun mini.emacs.pkg.2-2 ()
(defun mini.pkg.2-2 ()
"Test function 2."
(interactive)
)

(provide 'mini.emacs.pkg.2-2)
;;; mini.emacs.pkg.2-2.el ends here
(provide 'mini.pkg.2-2)
;;; mini.pkg.2-2.el ends here
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
;;; mini.emacs.pkg.1.el --- Minimal test package -*- lexical-binding: t; -*-
;;; mini.pkg.2.el --- Minimal test package -*- lexical-binding: t; -*-

;; Copyright (C) 2022-2024 the Eask authors.
;; Created date 2022-03-29 01:52:58

;; Author: Shen, Jen-Chieh <[email protected]>
;; URL: https://github.com/emacs-eask/mini.emacs.pkg.1
;; URL: https://github.com/emacs-eask/cli/tree/master/test/fixtures/mini.pkg.2
;; Version: 0.0.1
;; Package-Requires: ((emacs "24.3") (s "1.12.0") (fringe-helper "1.0.1"))
;; Keywords: test
Expand Down Expand Up @@ -35,5 +35,5 @@
(require 's)
(require 'fringe-helper)

(provide 'mini.emacs.pkg.1)
;;; mini.emacs.pkg.1.el ends here
(provide 'mini.pkg.2)
;;; mini.pkg.2.el ends here
Loading