aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/check.sh
blob: 9f40c998a799470573dbed21ccb1693f5d4de918 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#! /usr/bin/env sh

fmt_check() {
    echo ".#checks.x86_64-linux.$1"
}

check() {
    tests="$(fmt_check "$1")"
    shift 1

    for test in "$@"; do
        tests="$tests $(fmt_check "$test")"
    done

    set -x
    # We want to expand `$tests`.
    # shellcheck disable=SC2086
    nix build \
        --option max-jobs 1 \
        --print-out-paths --no-link \
        $tests
}

check atuin-sync \
    back \
    deploy-activate \
    deploy-schema \
    dns \
    formatting \
    git-server \
    rocie \
    rust-motd \
    sharkey \
    sharkey-cpu \
    taskchampion-sync
# email-dns \
# email-http \
# email-ip \