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
|
.DS_Store
|
||||||
tile38-*
|
tile38-*
|
||||||
!cmd/tile38-*
|
!cmd/tile38-*
|
||||||
|
*.test
|
||||||
data*/
|
data*/
|
||||||
coverage.out
|
coverage.out
|
||||||
packages/
|
packages/
|
||||||
|
|
2
build.sh
2
build.sh
|
@ -180,7 +180,7 @@ if [ "$1" == "test" ]; then
|
||||||
}
|
}
|
||||||
trap testend EXIT
|
trap testend EXIT
|
||||||
cd tests && go test && cd ..
|
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
|
fi
|
||||||
|
|
||||||
# cover if requested
|
# cover if requested
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *Controller) writeInfoCPU(w *bytes.Buffer) {
|
func (s *Server) writeInfoCPU(w *bytes.Buffer) {
|
||||||
fmt.Fprintf(w,
|
fmt.Fprintf(w,
|
||||||
"used_cpu_sys:%.2f\r\n"+
|
"used_cpu_sys:%.2f\r\n"+
|
||||||
"used_cpu_user:%.2f\r\n"+
|
"used_cpu_user:%.2f\r\n"+
|
||||||
|
|
Loading…
Reference in New Issue