aboutsummaryrefslogtreecommitdiff
path: root/build.ps1
blob: 97d991cf71b32205e10131baf739668c0a7c0731 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
function build {
    go run build.go @args
}

$cmd, $rest = $args
switch ($cmd) {
    "test" {
        $env:LOGGER_DISCARD=1
        build test
    }

    "bench" {
        $env:LOGGER_DISCARD=1
        build bench
    }

    default {
        build @rest
    }
}