Skip to content

Commit

Permalink
Meta: Upgrade makem.sh, Makefile, test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alphapapa committed Nov 23, 2020
1 parent a2acf93 commit 485bbdf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# * test.yml --- Test Emacs packages using makem.sh on GitHub Actions

# URL: https://github.com/alphapapa/makem.sh
# Version: 0.2
# Version: 0.2.1

# * Commentary:

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# * makem.sh/Makefile --- Script to aid building and testing Emacs Lisp packages

# URL: https://github.com/alphapapa/makem.sh
# Version: 0.2
# Version: 0.2.1

# * Arguments

Expand Down
7 changes: 4 additions & 3 deletions makem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# * makem.sh --- Script to aid building and testing Emacs Lisp packages

# URL: https://github.com/alphapapa/makem.sh
# Version: 0.2
# Version: 0.2.1

# * Commentary:

Expand Down Expand Up @@ -422,8 +422,9 @@ function package-main-file {
function dependencies {
# Echo list of package dependencies.

# Search package headers.
egrep -i '^;; Package-Requires: ' $(files-project-feature) $(files-project-test) \
# Search package headers. Use -a so grep won't think that an Elisp file containing
# control characters (rare, but sometimes necessary) is binary and refuse to search it.
egrep -a -i '^;; Package-Requires: ' $(files-project-feature) $(files-project-test) \
| egrep -o '\([^([:space:]][^)]*\)' \
| egrep -o '^[^[:space:])]+' \
| sed -r 's/\(//g' \
Expand Down

0 comments on commit 485bbdf

Please sign in to comment.