vala-lang / vala-lint

Check code-style of Vala code files
GNU General Public License v2.0
96 stars 15 forks source link

Publish to apt/flatpak or some other appstore #164

Open ghost opened 1 year ago

ghost commented 1 year ago

Hi. Would like to use vala-lint in my project. It'd be much more comfortable to offer it from apt or flatpak than to have to download and compile it manually.

davidmhewitt commented 1 year ago

It's available as a Docker container, so you should be able to do something like the following:

docker run --rm -it -v `pwd`:`pwd` -w `pwd` valalang/lint io.elementary.vala-lint

I haven't tested that command, so it may need some tweaking, but that should run vala-lint in the current working directory.

I agree that it would be convenient to have it packaged in other ways too though.

And it's io.elementary.vala-lint because it was originally an elementary project that has since been migrated into the vala GitHub organisation, and it's not been renamed yet.

ghost commented 1 year ago

I don't know the procedure for publishing to apt/flatpak, but maybe we could start by publishing the bare binaries to GitHub releases.

@davidmhewitt would you agree in implementing a Github action that builds vala-lint on every tag and pushes to Github releases?