b094e65bfc
Besadii was previously invoked as a git post-update hook, but Gerrit does not use these hooks and instead has its own concept of hooks. This change adapts besadii to be compatible with the way Gerrit hooks are invoked (arguments being passed as flags, rather than via stdin). Change-Id: I487b3a9e15810583bc5442fdc024ee2771c580cb
8 lines
170 B
Nix
8 lines
170 B
Nix
# This program is used as a git post-update hook to trigger builds on
|
|
# sourcehut.
|
|
{ depot, ... }:
|
|
|
|
depot.buildGo.program {
|
|
name = "besadii";
|
|
srcs = [ ./main.go ];
|
|
}
|