Unverified Commit 999ba9fd authored by Kenichi Kamiya's avatar Kenichi Kamiya
Browse files

go-task: add updateScript

parent 9b0635ee
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
, fetchFromGitHub
, installShellFiles
, testers
, nix-update-script
, go-task
}:

@@ -46,12 +47,16 @@ buildGoModule rec {
      --replace-fail '#compdef task' '#compdef task go-task'
  '';

  passthru.tests = {
  passthru = {
    tests = {
      version = testers.testVersion {
        package = go-task;
      };
    };

    updateScript = nix-update-script { };
  };

  meta = with lib; {
    homepage = "https://taskfile.dev/";
    description = "Task runner / simpler Make alternative written in Go";