niyumard 76349f8350 /bin/bash -> /usr/bin/env bash
This enables NixOS users to run the scripts in tools folder. I don't
think it will break compatibility with other distros or make any
breaking changes.
2023-04-19 16:55:56 +03:30

11 lines
347 B
Bash
Executable File

#!/usr/bin/env bash
# Sanity testing of the examples.
set -eo pipefail
# go vet will attempt to build each example, making sure it compiles. It will
# also report known issues with the code. Disabling the -unreachable check
# because it will fire false positives for some examples demonstrating panics.
go vet -unreachable=false ./examples/...