This repository was archived by the owner on Jan 14, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +15
-8
lines changed
Expand file tree Collapse file tree 6 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 44
55# Run tests first
66
7+ go vet ./... || exit 1
8+
79go test ./... || exit 1
810
911declare -A platforms=([linux]=linux [darwin]=osx [windows]=windows)
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package formatter
22
33import (
44 "fmt"
5+
56 "github.com/nytlabs/mxj"
67)
78
Original file line number Diff line number Diff line change @@ -2,12 +2,13 @@ package main
22
33import (
44 "fmt"
5+ "io/ioutil"
6+ "os"
7+
58 "github.com/andrew-d/go-termutil"
69 "github.com/pborman/getopt"
710 "github.com/stilvoid/please/formatter"
811 "github.com/stilvoid/please/parser"
9- "io/ioutil"
10- "os"
1112)
1213
1314func init () {
Original file line number Diff line number Diff line change @@ -3,9 +3,10 @@ package parser
33import (
44 "bytes"
55 "fmt"
6- "golang.org/x/net/html"
76 "reflect"
87 "strings"
8+
9+ "golang.org/x/net/html"
910)
1011
1112type node struct {
Original file line number Diff line number Diff line change @@ -2,11 +2,12 @@ package main
22
33import (
44 "fmt"
5+ "io"
6+ "os"
7+
58 "github.com/andrew-d/go-termutil"
69 "github.com/pborman/getopt"
710 "github.com/stilvoid/please/util"
8- "io"
9- "os"
1011)
1112
1213var requestAliases = []string {
Original file line number Diff line number Diff line change @@ -3,15 +3,16 @@ package main
33import (
44 "bufio"
55 "fmt"
6- "github.com/andrew-d/go-termutil"
7- "github.com/pborman/getopt"
8- "github.com/stilvoid/please/util"
96 "io"
107 "net"
118 "net/http"
129 "net/textproto"
1310 "os"
1411 "strconv"
12+
13+ "github.com/andrew-d/go-termutil"
14+ "github.com/pborman/getopt"
15+ "github.com/stilvoid/please/util"
1516)
1617
1718type responder struct {
You can’t perform that action at this time.
0 commit comments