Skip to content

Commit 9ad9898

Browse files
authored
chore: Simplify naming for fixtures mini.emacs packages (#282)
* chore: Simplify naming for fixtures mini.emacs packages * fix url * update pkg files
1 parent 3260742 commit 9ad9898

File tree

17 files changed

+44
-44
lines changed

17 files changed

+44
-44
lines changed

test/commands/config/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# Here we test all config (~/.emacs.d/) that the Emacser can be use daily!
2121
#
2222
# Notice, to make config commands work; we need a minimum configuration
23-
# (mini.emacs.d), and place it under to the default Emacs directory!
23+
# (home/.emacs.d), and place it under to the default Emacs directory!
2424
#
2525

2626
set -e

test/commands/docker/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
set -e
2424

2525
# Naviate to the test package
26-
cd "./test/fixtures/mini.emacs.pkg.1/"
26+
cd "./test/fixtures/mini.pkg.1/"
2727

2828
eask docker 27.1 info

test/commands/global/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# Here we test all global (~/.eask/) that the Emacser can be use daily!
2121
#
2222
# Notice, to make config commands work; we need a minimum configuration
23-
# (mini.emacs.d), and place it under to the default Emacs directory!
23+
# (home/.emacs.d), and place it under to the default Emacs directory!
2424
#
2525

2626
set -e

test/commands/install/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ set -e
2525
echo "Test commands related to install, and uninstall"
2626

2727
# Naviate to the test package
28-
cd "./test/fixtures/mini.emacs.pkg.1/"
28+
cd "./test/fixtures/mini.pkg.1/"
2929

3030
echo "Install dependencies"
3131
eask install-deps

test/commands/link/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626

2727
set -e
2828

29-
eask link add "mini.emacs.pkg.1" "./test/fixtures/mini.emacs.pkg.1/"
29+
eask link add "mini.pkg.1" "./test/fixtures/mini.pkg.1/"
3030
eask link list
31-
eask link delete mini.emacs.pkg.1-0.0.1
31+
eask link delete mini.pkg.1-0.0.1

test/commands/local/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
set -e
2828

2929
# Naviate to the test package
30-
cd "./test/fixtures/mini.emacs.pkg.1/"
30+
cd "./test/fixtures/mini.pkg.1/"
3131

3232
echo "Testing local commands..."
3333
eask info
@@ -73,7 +73,7 @@ eask run command mini-test-3 -- Extra arguments!
7373
eask run command --all
7474

7575
# Exection
76-
eask eval "(progn (require 'mini.emacs.pkg.1))"
76+
eask eval "(progn (require 'mini.pkg.1))"
7777

7878
# Generating
7979
eask generate autoloads

test/fixtures/home/.emacs.d/Eask

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
(package "mini.emacs.d"
1+
(package ".emacs.d"
22
"0.0.1"
33
"Minimal test configuration")
44

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

88
(depends-on "emacs" "26.1")

test/fixtures/mini.emacs.pkg.1/Eask renamed to test/fixtures/mini.pkg.1/Eask

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
(package "mini.emacs.pkg.1"
1+
(package "mini.pkg.1"
22
"0.0.1"
33
"Minimal test package")
44

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

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

1010
(files "files/*.el")
1111

File renamed without changes.

test/fixtures/mini.emacs.pkg.2/files/mini.emacs.pkg.2-1.el renamed to test/fixtures/mini.pkg.1/files/mini.pkg.1-1.el

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;;; mini.emacs.pkg.2-1.el --- Extern file 1 -*- lexical-binding: t; -*-
1+
;;; mini.pkg.1-1.el --- Extern file 1 -*- lexical-binding: t; -*-
22

33
;; This file is NOT part of GNU Emacs.
44

@@ -17,16 +17,16 @@
1717

1818
;;; Commentary:
1919
;;
20-
;; files/mini.emacs.pkg.2-1.el
20+
;; files/mini.pkg.1-1.el
2121
;;
2222

2323
;;; Code:
2424

2525

26-
(defun mini.emacs.pkg.2-1 ()
26+
(defun mini.pkg.1-1 ()
2727
"Test function 1."
2828
(interactive)
2929
)
3030

31-
(provide 'mini.emacs.pkg.2-1)
32-
;;; mini.emacs.pkg.2-1.el ends here
31+
(provide 'mini.pkg.1-1)
32+
;;; mini.pkg.1-1.el ends here

0 commit comments

Comments
 (0)