iris/_benchmarks/benchmarker/installer_unix.go
Gerasimos (Makis) Maropoulos c512222b9b nothing serious here yet, just having fun with powershell and my nerves - but it works
Former-commit-id: ec83062ab7a588e9bfc6c42ce59834abf24723fa
2019-06-24 04:49:24 +03:00

16 lines
295 B
Go

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