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

Add linter for rpmspec #368

Merged
merged 2 commits into from
Sep 19, 2023
Merged

Conversation

cryptomilk
Copy link
Contributor

This adds a linter for RPM spec files.

I miss a simple make test to quickly run the tests ...

@cryptomilk cryptomilk force-pushed the asn-rpmspec branch 3 times, most recently from 2afc57b to 8f1efe1 Compare September 17, 2023 17:16
@mfussenegger
Copy link
Owner

Added a fixup to fix the tests. Just to be sure: The reported line numbers are 1-based right? (diagnostics lnum is 0 based)

@cryptomilk
Copy link
Contributor Author

Added a fixup to fix the tests. Just to be sure: The reported line numbers are 1-based right? (diagnostics lnum is 0 based)

The reported line numbers by rpmspec are 1-based.

@cryptomilk
Copy link
Contributor Author

It isn't really clear from the README.md how to run the tests. Just using busted tests/ didn't really work. I'm using mini.test for my projects. You can just add it as a subproject and everyone can run the tests, all you need is nvim.

The fixup commit looks fine for me.

@mfussenegger mfussenegger merged commit 63fab8d into mfussenegger:master Sep 19, 2023
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