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

Readmy doesn't mention identation rules #1135

Closed
twolodzko opened this issue Mar 21, 2022 · 1 comment · Fixed by #1142
Closed

Readmy doesn't mention identation rules #1135

twolodzko opened this issue Mar 21, 2022 · 1 comment · Fixed by #1142

Comments

@twolodzko
Copy link

Makefiles are pretty strict about indentation rules, just's readme doesn't say anything about it. Does it use tabs-only or maybe any whitespaces are ok? Is it configurable?

@casey
Copy link
Owner

casey commented Mar 24, 2022

Good point!

Actually, I don't think anyone has ever asked what the indentation rules are, even though they're fairly complicated. Probably because they're pretty forgiving, and the error messages you get if you don't follow them are specific and informative.

Recipe lines may begin with any number of tabs or spaces, but not a mix of the two. All lines of a given recipe must use the same leading indentation, however different recipes may use different indentation.

I'll mention this in the readme.

@casey casey linked a pull request Mar 24, 2022 that will close this issue
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 a pull request may close this issue.

2 participants