Closed yisonPylkita closed 1 year ago
Definitely! The only reason Taplo doesn't have prebuilt binaries is that I didn't take the time to set them up.
That being said, I don't have a lot of time right now either, so PRs are welcome!
I started work on this here.
For every new tag prefixed v
GH Action will compile taplo-dummy
with x86_64-unknown-linux-musl
target and will attach compiled application as a zip to releases page
To not mix this with your existing workflow I would see this as a new workflow file in .github/workflows
Is this good enough for a PR?
Thanks!
Looks good so far, just a few things:
release-cli-*
.tar.gz
instead of .zip
as it should retain the executable permission
Right now to use
taplo-cli
I have to get cargo first and then buildtaplo-cli
. Runime performance-wise it's a good idea but when it comes to an ease of setup it's not that good. Lately I started working more with Docker containers and GH Actions with a variety of Linux distributions on it and using taplo there to lint my tol files is quite problematic. What I'd like to see is a pre-built release oftaplo-cli
I can download from this page. I thinkx86_64-unknown-linux-musl
target will suite this purpose best. I see there is a GitHub Action to automate such process - https://github.com/marketplace/actions/automatic-releasesWould you be interested in such a feature?