tokei
tokei copied to clipboard
Build Debian packages on release
Hi, I recently set up an apt repository at https://apt.cli.rs with the goal to host a central repository for cool Rust cli tools. I'd love to add tokei to the repo. To make that happen I believe the only things that would be required would be
- Add a configuration to
Cargo.tomlso https://crates.io/crates/cargo-deb can be used to build debs from the crate. - Have the normal release process run
cargo deb --no-build --target ...to generate the deb from the already built binaries - Have the workflow upload the
.debfiles for the release
I'm happy to help with this if you want.
I also should note that for the greatest portability, statically linking to musl for the Debian packages would be ideal, I think we can just do the above steps only for musl targets.
Thanks for the handy tool :)
Thank you for your issue! Overall I'm in favour of the change. Would you be up for making the needed CI in https://github.com/XAMPPRocky/mean-bean-ci-template ? Tokei's CI is based off that, and then other projects could easily generate Debian packages as well.
Sure, I made https://github.com/XAMPPRocky/mean-bean-ci-template/pull/6