Skip to content

Commit

Permalink
Use recommended setup for multi-file packages
Browse files Browse the repository at this point in the history
  • Loading branch information
amake committed Aug 14, 2023
1 parent d8772fd commit 0a99de7
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
;;; Directory Local Variables -*- no-byte-compile: t -*-
;;; For more information see (info "(emacs) Directory Variables")

((nil . ((package-lint-main-file . "macports.el"))))
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ lint: ## Check for issues
lint: | $(elpa_dir)
$(run_emacs) \
-l package-lint \
--eval '(setq package-lint--sane-prefixes (concat "\\`macports\\|" package-lint--sane-prefixes))' \
-f package-lint-batch-and-exit *.el

.PHONY: test-unit
Expand Down
1 change: 0 additions & 1 deletion macports-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
;; Author: Aaron Madlon-Kay
;; Version: 0.1.0
;; URL: https://github.com/amake/macports.el
;; Package-Requires: ((emacs "25.1") (transient "0.1.0"))
;; Keywords: convenience

;; This file is not part of GNU Emacs.
Expand Down
1 change: 0 additions & 1 deletion macports-describe.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
;; Author: Aaron Madlon-Kay
;; Version: 0.1.0
;; URL: https://github.com/amake/macports.el
;; Package-Requires: ((emacs "25.1"))
;; Keywords: convenience

;; This file is not part of GNU Emacs.
Expand Down
1 change: 0 additions & 1 deletion macports-installed.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
;; Author: Aaron Madlon-Kay
;; Version: 0.1.0
;; URL: https://github.com/amake/macports.el
;; Package-Requires: ((emacs "25.1") (transient "0.1.0"))
;; Keywords: convenience

;; This file is not part of GNU Emacs.
Expand Down
1 change: 0 additions & 1 deletion macports-outdated.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
;; Author: Aaron Madlon-Kay
;; Version: 0.1.0
;; URL: https://github.com/amake/macports.el
;; Package-Requires: ((emacs "25.1") (transient "0.1.0"))
;; Keywords: convenience

;; This file is not part of GNU Emacs.
Expand Down
1 change: 0 additions & 1 deletion macports-select.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
;; Author: Aaron Madlon-Kay
;; Version: 0.1.0
;; URL: https://github.com/amake/macports.el
;; Package-Requires: ((emacs "25.1"))
;; Keywords: convenience

;; This file is not part of GNU Emacs.
Expand Down
4 changes: 4 additions & 0 deletions test/.dir-locals.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
;;; Directory Local Variables -*- no-byte-compile: t -*-
;;; For more information see (info "(emacs) Directory Variables")

((nil . ((package-lint-main-file . "../macports.el"))))
1 change: 0 additions & 1 deletion test/macports-describe-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
;; Author: Aaron Madlon-Kay
;; Version: 0.1.0
;; URL: https://github.com/amake/macports.el
;; Package-Requires: ((emacs "25.1") (transient "0.1.0"))
;; Keywords: convenience

;; This file is not part of GNU Emacs.
Expand Down
1 change: 0 additions & 1 deletion test/macports-installed-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
;; Author: Aaron Madlon-Kay
;; Version: 0.1.0
;; URL: https://github.com/amake/macports.el
;; Package-Requires: ((emacs "25.1") (transient "0.1.0"))
;; Keywords: convenience

;; This file is not part of GNU Emacs.
Expand Down
1 change: 0 additions & 1 deletion test/macports-outdated-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
;; Author: Aaron Madlon-Kay
;; Version: 0.1.0
;; URL: https://github.com/amake/macports.el
;; Package-Requires: ((emacs "25.1") (transient "0.1.0"))
;; Keywords: convenience

;; This file is not part of GNU Emacs.
Expand Down
1 change: 0 additions & 1 deletion test/macports-select-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
;; Author: Aaron Madlon-Kay
;; Version: 0.1.0
;; URL: https://github.com/amake/macports.el
;; Package-Requires: ((emacs "25.1") (transient "0.1.0"))
;; Keywords: convenience

;; This file is not part of GNU Emacs.
Expand Down
1 change: 0 additions & 1 deletion test/macports-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
;; Author: Aaron Madlon-Kay
;; Version: 0.1.0
;; URL: https://github.com/amake/macports.el
;; Package-Requires: ((emacs "25.1") (transient "0.1.0"))
;; Keywords: convenience

;; This file is not part of GNU Emacs.
Expand Down

0 comments on commit 0a99de7

Please sign in to comment.