mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-05 21:07:58 +00:00
21 lines
264 B
PowerShell
21 lines
264 B
PowerShell
|
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
|
||
|
}
|
||
|
}
|