Skip to content

Commit

Permalink
chore: Simplify naming for fixtures mini.emacs packages (#282)
Browse files Browse the repository at this point in the history
* chore: Simplify naming for fixtures mini.emacs packages

* fix url

* update pkg files
  • Loading branch information
jcs090218 authored Nov 17, 2024
1 parent 3260742 commit 9ad9898
Show file tree
Hide file tree
Showing 17 changed files with 44 additions and 44 deletions.
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
File renamed without changes.
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
File renamed without changes.
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

0 comments on commit 9ad9898

Please sign in to comment.