mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
a good start of making the ./_benchmarks benchmarker works autonomous by installing dependencies, running them and finally save them on disk as markdown files
Former-commit-id: 685b296f62c63f98455dce36ce52989be772ba34
This commit is contained in:
15
_benchmarks/benchmarker/installer_unix.go
Normal file
15
_benchmarks/benchmarker/installer_unix.go
Normal file
@@ -0,0 +1,15 @@
|
||||
// +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()...)
|
||||
}
|
||||
Reference in New Issue
Block a user