summaryrefslogtreecommitdiffstats
path: root/build.rs
AgeCommit message (Collapse)Author
2023-01-27other: ignore uninlined_format_args clippy lint for now (#1004)Clement Tsang
2023-01-12ci: follow .deb naming conventions (#969)Clement Tsang
Change the .deb file generation back to following standard naming conventions.
2023-01-02ci: add build hash to nightly builds for version (#951)Clement Tsang
This adds the build hash to the btm -V output for nightly builds, making it easier to troubleshoot when someone might have obtained a nightly build, and what commit it corresponds to.
2022-11-10refactor: run cargo +nightly fmt with group_imports (#885)Clement Tsang
* refactor: add some disabled unstable fmt options * run cargo +nightly fmt with group_imports * separate out the cfg-specific imports for clarity
2022-11-04refactor: clippy and small cleanup/comments (#865)Clement Tsang
* refactor: small cleanup and comments in some code * clippy * more clippy * fixes for macos/freebsd
2022-09-28other: remove some build script triggers (#818)Clement Tsang
2022-08-30ci: completion/manpage generation script spring cleaning (#795)Clement Tsang
* ci: spring cleaning of completions autogen This commit changes a few things/cleans up stuff: - Completion and manpage generation now drops the files off in `./target/tmp/bottom` rather than arbitrarily in the build directory. This was originally done because I was lazy and just needed it to work in CI, but it's kinda gross if you want to build the manpages in your own directory. - CI was updated to handle this. - Only run if the `BTM_GENERATE` env var is actually non-empty. * docs: update for manpage/completion gen * ci: auto delete autogen comp/manpage dir * ci: fix incorrect mv for autogen The mv was too late, should be earlier in the workflow. * ci: specify shell in autogen delete * docs: more updates to manpage/comp docs * ci: unify env vars * ci: skip autogen on build-msi
2022-05-28deployment: add aarch64/armv7 gnu .deb generation (#739)Clement Tsang
Adds .deb generation for aarch64 and armv7 gnu targets in the nightly and deploy workflows.
2022-03-11other: add manpage file to cargo deb config, move back to build script (#693)Clement Tsang
Adds the asset for the manpage to cargo deb config. Also moves the generated manpage file to a .1.gz file. Also, moves back to a build script since that was causing some issues for the automatic Cargo.toml fields detection for manpage and completion generation. To prevent compilation from happening every time, and only in CI, we use an env var to avoid generation steps.
2022-03-10ci: add manpage generation, migrate build script (#692)Clement Tsang
Adds manpage generation to the build process, as well as following the xtask concept of adding additional build scripts that only need to run on deploy/nightly as opposed to `build.rs`. Note this doesn't follow the recommended method of using workplaces because I don't really want to shift the entire repo structure just for this. More on xtask: https://github.com/matklad/cargo-xtask
2022-03-07deps: update clap to 3.x (#690)Clement Tsang
Updates bottom to use clap 3.x, along with some small refactoring changes.
2020-08-31other: Add autocomplete file generation (#213)Clement Tsang
Adds shell completion generation as part of the build, as well as tweaking install scripts/templates/CI to use them.