Skip to content

Commit

Permalink
chore: improvement to be squashed
Browse files Browse the repository at this point in the history
Signed-off-by: Christina Sørensen <[email protected]>
  • Loading branch information
cafkafk committed Apr 29, 2024
1 parent 38c984c commit 5f4c220
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 400 deletions.
234 changes: 0 additions & 234 deletions CHANGELOG.md

This file was deleted.

4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ fn main() -> Result<(), Error> {

let mut cmd = build_cli();
for &shell in Shell::value_variants() {
generate_to(shell, &mut cmd, "rime", &outdir)?;
generate_to(shell, &mut cmd, "ha-registry", &outdir)?;
}

let file = PathBuf::from(&outdir).join("rime.1");
let file = PathBuf::from(&outdir).join("ha-registry.1");
let mut file = File::create(file)?;

Man::new(cmd).render(&mut file)?;
Expand Down
2 changes: 1 addition & 1 deletion cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# changelog header
header = """
<!--
SPDX-FileCopyrightText: 2023 Christina Sørensen
SPDX-FileCopyrightText: 2024 Christina Sørensen
SPDX-FileContributor: Christina Sørensen
SPDX-License-Identifier: AGPL-3.0-only
Expand Down
16 changes: 8 additions & 8 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -112,29 +112,29 @@
'';

preInstall = ''
installManPage man/rime.1
installManPage man/ha-registry.1
installShellCompletion \
--fish man/rime.fish \
--bash man/rime.bash \
--zsh man/_rime
--fish man/ha-registry.fish \
--bash man/ha-registry.bash \
--zsh man/_ha-registry
mkdir -p $out
'';
};

container = pkgs.dockerTools.buildLayeredImage {
name = "rime";
name = "ha-tregistry";
tag = "latest";
contents = [packages.default pkgs.cacert];
config = {
Labels = {
"org.opencontainers.image.source" = "https://github.com/cafkafk/rime";
"org.opencontainers.image.description" = "rime: Nix Flake Input Versioning";
"org.opencontainers.image.source" = "https://github.com/cafkafk/ha-registry";
"org.opencontainers.image.description" = "ha-registry: High Availability Container Registry";
"org.opencontainers.image.license" = "AGPL-3.0-only";
};
Env = [
"RUST_LOG=trace"
];
Cmd = ["/bin/rime"];
Cmd = ["/bin/ha-registry"];
};
};

Expand Down
Loading

0 comments on commit 5f4c220

Please sign in to comment.