iris/_benchmarks/benchmarker/installer_unix.go

16 lines
286 B
Go
Raw Normal View History

// +build !windows
package main
import (
"os/exec"
)
func sh(script string, args ...string) error {
return (&platform{"bin/sh"}).attach(append([]string{script}, args...)...)
}
func installDotnet(b bundle) error {
return sh("./scripts/dotnet-install.sh", b.parseArguments()...)
}