supabase-cli: add version test
This commit is contained in:
parent
7c222dcc92
commit
2d6a944411
1 changed files with 8 additions and 1 deletions
|
@ -2,6 +2,8 @@
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
|
, testers
|
||||||
|
, supabase-cli
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -38,7 +40,12 @@ buildGoModule rec {
|
||||||
--zsh <($out/bin/supabase completion zsh)
|
--zsh <($out/bin/supabase completion zsh)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = nix-update-script { };
|
passthru = {
|
||||||
|
tests.version = testers.testVersion {
|
||||||
|
package = supabase-cli;
|
||||||
|
};
|
||||||
|
updateScript = nix-update-script { };
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A CLI for interacting with supabase";
|
description = "A CLI for interacting with supabase";
|
||||||
|
|
Loading…
Reference in a new issue