Skip to content

Comments

move shellcheck to bash script; use git ls-files to ignore gitignored…#2380

Merged
jschaul merged 1 commit intodevelopfrom
shellcheck
May 11, 2022
Merged

move shellcheck to bash script; use git ls-files to ignore gitignored…#2380
jschaul merged 1 commit intodevelopfrom
shellcheck

Conversation

@jschaul
Copy link
Member

@jschaul jschaul commented May 10, 2022

… files from being caught in shellcheck

As a follow-up to #2361 instead of "shell find" could we use git ls-files here actually? If I have built libzauth locally, or other things in gitignore, it trips the various shell scripts inside those subfolders locally, even though they are gitignored.

This PR makes use of git ls-files and moves the logic from Makefile to a shell script, as the array magic inside Makefile is a bit weird to deal with I find.

@jschaul jschaul requested a review from supersven May 10, 2022 15:42
@jschaul jschaul temporarily deployed to cachix May 10, 2022 15:42 Inactive
Copy link
Contributor

@supersven supersven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @jschaul ! Looks like a good improvement 👍

@jschaul jschaul merged commit c057773 into develop May 11, 2022
@jschaul jschaul deleted the shellcheck branch May 11, 2022 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants