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

Allow Perl source with no file extension #39

Merged
merged 1 commit into from
Mar 29, 2022

Conversation

fmeum
Copy link
Contributor

@fmeum fmeum commented Mar 23, 2022

Perl source files without a file extension are relatively common (genhtml is an example).

@PiotrSikora
Copy link
Contributor

Could you add an example and a test based on genhtml (or anything else that would exercise this path?
See: #23 for a similar change.

@fmeum
Copy link
Contributor Author

fmeum commented Mar 24, 2022

@PiotrSikora I added a simple test that runs genhtml to generate a coverage report for the test itself. I barely know any Perl, so feedback is especially welcome.

@fmeum
Copy link
Contributor Author

fmeum commented Mar 24, 2022

The CI failures are unrelated and fixed by #41.

@skeletonkey
Copy link
Collaborator

MR 41 has been merged in - please rebase

WORKSPACE Show resolved Hide resolved
@fmeum fmeum force-pushed the patch-1 branch 2 times, most recently from 2e5c238 to e5313f0 Compare March 28, 2022 18:10
@skeletonkey
Copy link
Collaborator

Looks good - but I believe you still need to rebase.

Perl source files without a file extension are relatively common, with
genhtml being an example that is very relevant to Bazel.

Includes an example of a perl_binary for genhtml including a simple
test.
@fmeum
Copy link
Contributor Author

fmeum commented Mar 29, 2022

It was a different buildifier issue that I introduced with this PR (and just fixed). Should be ready now.

@skeletonkey skeletonkey merged commit 293fe6f into bazelbuild:main Mar 29, 2022
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