Skip to content

Commit

Permalink
Add Earthfile and .earthlyignore support
Browse files Browse the repository at this point in the history
Add support for the Earthly build system files (`Earthfile` and
`.earthlyignore`).
  • Loading branch information
JohnMoon-VTS authored and carmenbianca committed Jul 3, 2024
1 parent 939d53c commit 247fa49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ This changeset also contains the changes of v3.1.0a1.
- BATS test (`.bats`) (#997)
- Octave/Matlab (`.m`) (#604)
- VHDL(`.vhdl`) (#564)
- Earthly files (`Earthfile` and `.earthlyignore`) (#1024)
- Added comment styles:
- `man` for UNIX Man pages (`.man`) (#954)
- Added `--lines` output option for `lint`. (#956)
Expand Down
2 changes: 2 additions & 0 deletions src/reuse/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,7 @@ class XQueryCommentStyle(CommentStyle):
".clang-tidy": PythonCommentStyle,
".coveragerc": PythonCommentStyle,
".dockerignore": PythonCommentStyle,
".earthlyignore": PythonCommentStyle,
".editorconfig": PythonCommentStyle,
".empty": EmptyCommentStyle,
".eslintignore": PythonCommentStyle,
Expand Down Expand Up @@ -879,6 +880,7 @@ class XQueryCommentStyle(CommentStyle):
"Containerfile": PythonCommentStyle,
"Dockerfile": PythonCommentStyle,
"Doxyfile": PythonCommentStyle,
"Earthfile": PythonCommentStyle,
"Gemfile": PythonCommentStyle,
"go.mod": CppCommentStyle,
"go.sum": UncommentableCommentStyle,
Expand Down

0 comments on commit 247fa49

Please sign in to comment.