fix(ci): pass -x and --source-path to shellcheck #1
No reviewers
Labels
No labels
breaking-change
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
skip-release-notes
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/tmux-mosaic!1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/shellcheck-follow-sources"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ubuntu's apt-get shellcheck treats SC1091 (info: source not specified as input) as a non-zero exit. The source comments in
ops.sh/mosaic.tmuxare relative to each script, so we need both-x(follow sources) and--source-path=SCRIPTDIR(resolve relative to each file's directory) for shellcheck to actually find them.Verified locally:
shellcheck -x --source-path=SCRIPTDIR --source-path=SCRIPTDIR/scripts ...exits 0.