mirror of https://github.com/tidwall/tile38.git
Fix windows build issue
This commit is contained in:
parent
07bae979a5
commit
e46c945f2c
|
@ -1,6 +1,7 @@
|
|||
.DS_Store
|
||||
tile38-*
|
||||
!cmd/tile38-*
|
||||
*.test
|
||||
data*/
|
||||
coverage.out
|
||||
packages/
|
||||
|
|
2
build.sh
2
build.sh
|
@ -180,7 +180,7 @@ if [ "$1" == "test" ]; then
|
|||
}
|
||||
trap testend EXIT
|
||||
cd tests && go test && cd ..
|
||||
go test $(go list ./... | grep -v /vendor/ | grep -v /tests | grep -v /pkg/geojson_bak)
|
||||
go test $(go list ./... | grep -v /vendor/ | grep -v /tests)
|
||||
fi
|
||||
|
||||
# cover if requested
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"fmt"
|
||||
)
|
||||
|
||||
func (c *Controller) writeInfoCPU(w *bytes.Buffer) {
|
||||
func (s *Server) writeInfoCPU(w *bytes.Buffer) {
|
||||
fmt.Fprintf(w,
|
||||
"used_cpu_sys:%.2f\r\n"+
|
||||
"used_cpu_user:%.2f\r\n"+
|
||||
|
|
Loading…
Reference in New Issue