Add migrate-workspace-deps script
This script will migrate all crate-level version dependencies to the top-level. It won't work for more esoteric configurations, and print a warning. Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
caade47b4c
commit
527ed85dff
3 changed files with 522 additions and 1 deletions
11
flake.nix
11
flake.nix
|
|
@ -27,6 +27,17 @@
|
|||
|
||||
text = builtins.readFile ./gitlab-job-status;
|
||||
};
|
||||
|
||||
migrate-workspace-deps = pkgs.writeShellApplication {
|
||||
name = "migrate-workspace-deps";
|
||||
runtimeInputs = [
|
||||
pkgs.jq
|
||||
pkgs.git
|
||||
pkgs.yq
|
||||
];
|
||||
|
||||
text = builtins.readFile ./migrate-workspace-deps;
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue