Skip to content

Commit

Permalink
refactor(cli)!: rename package to bomp
Browse files Browse the repository at this point in the history
  • Loading branch information
justinrubek committed May 18, 2024
1 parent b356f99 commit 1c3adc0
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ edition = "2021"
crate-type = ["rlib"]
required-features = []

[[bin]]
path = "src/main.rs"
name = "bomper"
required-features = []

[lints.clippy.pedantic]
level = "warn"
priority = -1
4 changes: 2 additions & 2 deletions flake-parts/cargo.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
packages = {
default = packages.cli;
cli = craneLib.buildPackage ({
pname = "bomper";
pname = "bomp";
cargoArtifacts = deps-only;
meta.mainProgram = "bomper";
meta.mainProgram = "bomp";
}
// common-build-args);
cargo-doc = craneLib.cargoDoc ({
Expand Down
4 changes: 2 additions & 2 deletions flake-parts/flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ localFlake: {
in
lib.mkIf cfg.enable {
bomper.wrappedBomper = localFlake.withSystem system ({config, ...}: (pkgs.writeShellApplication {
name = "bomper";
name = "bomp";
runtimeInputs = [config.packages.cli];
text = ''exec bomper --config-file ${configFile} "$@"'';
text = ''exec bomp --config-file ${configFile} "$@"'';
}));
};
});
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 1c3adc0

Please sign in to comment.