Skip to content

Commit

Permalink
Redirect debugging output to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
bcc32 committed Jul 8, 2024
1 parent 9c6f7c1 commit 4241849
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions makem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -427,28 +427,28 @@ function files-project-elisp {
# Echo list of Elisp files in project.
debug "files-project would print:"
debug "--------------------------"
files-project
files-project >&2
debug "--------------------------"
debug "after grep"
debug "--------------------------"
files-project 2>/dev/null \
| grep -E "\.el$"
| grep -E "\.el$" >&2
debug "--------------------------"
debug "after exclude-default"
debug "--------------------------"
files-project 2>/dev/null \
| grep -E "\.el$" \
| filter-files-exclude-default
| filter-files-exclude-default >&2
debug "--------------------------"
debug "after exclude-args"
debug "--------------------------"
files-project 2>/dev/null \
| grep -E "\.el$" \
| filter-files-exclude-default \
| filter-files-exclude-args
| filter-files-exclude-args >&2
debug "--------------------------"
files-project 2>/dev/null \
Expand All @@ -462,20 +462,20 @@ function files-project-feature {
debug "files-project-feature:"
debug "files-project-elisp printed:"
debug "----------------------------"
files-project-elisp
files-project-elisp >&2
debug "----------------------------"
debug "after filtering out test files"
debug "----------------------------"
files-project-elisp \
| grep -E -v "$test_files_regexp"
| grep -E -v "$test_files_regexp" >&2
debug "----------------------------"
debug "after filtering filter-files-feature"
debug "----------------------------"
files-project-elisp \
| grep -E -v "$test_files_regexp" \
| filter-files-feature
| filter-files-feature >&2
debug "----------------------------"
files-project-elisp \
Expand Down

0 comments on commit 4241849

Please sign in to comment.