mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-02 11:58:28 +00:00
944ddcf768
* go mod init; rm -rf vendor * tweak proto files and generation * go mod vendor * clean up build.go * protobuf literals in tests * downgrade gogo/protobuf
18 lines
175 B
Bash
18 lines
175 B
Bash
#!/bin/bash
|
|
|
|
# This ensures all executables build and all tests pass before a commit
|
|
# goes through.
|
|
|
|
set -v
|
|
set -e
|
|
|
|
CWD=`pwd`
|
|
|
|
go test
|
|
./gml .
|
|
|
|
echo Build succeeds.
|
|
exit 0
|
|
|
|
|