Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't mix tabs and spaces in bootstrap.sh #1313

Merged
merged 1 commit into from Nov 22, 2023

Conversation

matklad
Copy link
Member

@matklad matklad commented Nov 21, 2023

bootstarp.sh is probably something people would look at to learn how to download tigerbeetle, it should be readable.

@cb22
Copy link
Contributor

cb22 commented Nov 21, 2023

While you're here, can you add it to the lint_shellcheck too!

bootstarp.sh is probably something people would look at to learn how to
download tigerbeetle, it should be readable.
@matklad matklad force-pushed the matklad/dont-mix-tabs-and-spaces branch from a4eaaf0 to 1c8ebb2 Compare November 21, 2023 13:44
@matklad
Copy link
Member Author

matklad commented Nov 21, 2023

Good call, though it seems that shellcheck is fine about mixing tabs&spaces here?

@sentientwaffle
Copy link
Member

As an aside, ignoring style preferences, there is one place where "spaces vs tabs" actually matters in shell scripts -- heredocs work better with tabs. (e.g. https://tldp.org/LDP/abs/html/here-docs.html example 19-4).

@cb22
Copy link
Contributor

cb22 commented Nov 21, 2023

though it seems that shellcheck is fine about mixing tabs&spaces here?

I was quite surprised by this too, given how opinionated they are on other things!

@matklad matklad added this pull request to the merge queue Nov 21, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 21, 2023
@cb22 cb22 added this pull request to the merge queue Nov 22, 2023
Merged via the queue into main with commit 80020d5 Nov 22, 2023
27 checks passed
@cb22 cb22 deleted the matklad/dont-mix-tabs-and-spaces branch November 22, 2023 09:08
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.

None yet

3 participants