blob: aa39e1ecf7d0277da5df8dc060625e46f12ee125 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ pkgs, ... }:
let
pipeline.steps = [
{
command = ''
git log -n 1
git show
${pkgs.git-secrets}/bin/git-secrets --scan-history
'';
label = ":broom: lint";
}
{
command = "nix-build . -I briefcase=$(pwd) --no-out-link --show-trace";
label = ":nix: build";
}
];
in pkgs.writeText "briefcase.yaml" (builtins.toJSON pipeline)
|