iris/_benchmarks/benchmarker/installer_unix.go
2019-06-23 05:53:49 +03:00

16 lines
286 B
Go

// +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()...)
}