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