mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-10-13 02:53:52 +08:00

* feat: add syncthing for clone mode --------- Co-authored-by: wencaiwulue <895703375@qq.com>
11 lines
245 B
Bash
11 lines
245 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# check there are no formatting issues
|
|
GOFMT_LINES=`gofmt -l . | wc -l | xargs`
|
|
test $GOFMT_LINES -eq 0 || echo "gofmt needs to be run, ${GOFMT_LINES} files have issues"
|
|
|
|
# run the tests for the root package
|
|
go test -race .
|