blob: 636b5c594bed7af9e4029b265431e654ecff5d6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// +build ignore
package main
import (
"context"
"os"
"time"
"github.com/Xe/x/internal/yeet"
)
func main() {
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute)
defer cancel()
env := append(os.Environ(), []string{"GO111MODULE=on"}...)
for _, tool := range []string{"github.com/robertkrimen/godocdown/godocdown"} {
yeet.ShouldWork(ctx, env, yeet.WD, "go", "install", tool)
}
}
|